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

Sp 1058 #1061

Merged
merged 3 commits into from
Jan 13, 2023
Merged

Sp 1058 #1061

merged 3 commits into from
Jan 13, 2023

Conversation

dominikriemer
Copy link
Member

Purpose

This PR improves the streampipes model by removing obsolete or unused classes and removes two top-level objects AbstractStreamPipesEntity and UnnamedStreamPipesEntity. This reduces inheritance with the goal to make the model ready for cross-language data exchange.

Remarks

PR introduces (a) breaking change(s): no
PR introduces (a) deprecation(s): no

@dominikriemer dominikriemer self-assigned this Jan 8, 2023
@dominikriemer dominikriemer linked an issue Jan 8, 2023 that may be closed by this pull request
Copy link
Contributor

@tenthe tenthe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good, I just had a question regarding the prefix in class ElementIdGenerator see comments.

@@ -21,7 +21,7 @@

public class ElementIdGenerator {

private static final String prefix = "urn:streampipes.apache.org:spi:";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be that we need an update script, or does this change only affect newly created IDs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing! This should not affect existing IDs.
I will create a migration script to cleanup existing models in the database as well.

@bossenti bossenti self-requested a review January 9, 2023 20:50
@dominikriemer dominikriemer merged commit c59017c into dev Jan 13, 2023
@dominikriemer dominikriemer deleted the SP-1058 branch January 13, 2023 08:09
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

Successfully merging this pull request may close these issues.

Cleanup Streampipes model classes
3 participants