-
Notifications
You must be signed in to change notification settings - Fork 188
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 1065 #1069
Conversation
} | ||
|
||
} else if (geoFeature.getGeometry() instanceof LineString) { | ||
LineString lineString = (LineString) geoFeature.getGeometry(); | ||
eventProperties.add(JsonEventProperty.getEventProperty("coorindatesLineString", lineString.getCoordinates())); | ||
|
||
sampleValues.put("coorindatesLineString", new GuessTypeInfo("java.lang.Double", lineString.getCoordinates())); |
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.
is this a type and should be named coordinates
?
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.
Thanks, you are right. It seems to be a typo.
} else if (geoFeature.getGeometry() instanceof MultiPoint) { | ||
MultiPoint multiPoint = (MultiPoint) geoFeature.getGeometry(); | ||
eventProperties.add(JsonEventProperty.getEventProperty("coorindatesMultiPoint", multiPoint.getCoordinates())); | ||
|
||
sampleValues.put("coorindatesMultiPoint", new GuessTypeInfo("java.lang.Double", multiPoint.getCoordinates())); |
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.
same for all types
<exclusion> | ||
<groupId>com.fasterxml.woodstox</groupId> | ||
<artifactId>woodstox-core</artifactId> | ||
</exclusion> |
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.
Does this exclusion have any impact on the S7 driver?
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.
Hopefully not, we have to validate it with a PLC as soon as it is merged. This is included due to some convergence errors
@dominikriemer I have addressed your comments. I also extracted some common strings into a new class |
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.
Thanks!
Purpose
Fixes #1065 by adding e2e tests for the different formats that can be used in the adapters.
Also enabled the live preview feature for all formats.
Remarks
This PR also removes the underscore dependency and replaces it with jackson-dataformat-xml, which was already registered in the pom.
I also had to adjust some of the parser implementations. This PR provides the basis for further refactoring of those parsers.
PR introduces (a) breaking change(s): no
PR introduces (a) deprecation(s): no