-
Notifications
You must be signed in to change notification settings - Fork 52
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
Fix integration child mapping validation bug #1234
Conversation
Signed-off-by: Simeon Widdis <[email protected]>
Test failures seem to be entirely unrelated -- has something changed upstream? |
Signed-off-by: Simeon Widdis <[email protected]>
This reverts commit b2c533f. Signed-off-by: Simeon Widdis <[email protected]>
0ca532e
to
7fe6d24
Compare
Closing as we're not backporting to 2.9 |
Reopening -- On discussion with team, it's important enough to backport for 2.9 |
@Swiddis you might need to fix tests here before merging |
It looks like all the failing tests aren't from this PR, I was asking around and got told that the tests on this branch are unstable. I searched for any failures related to these changes in the logs and didn't find anything. |
Description
As described in #1148, integrations fails to validate some kinds of schemas, where child mappings don't align with the name of the mappings' properties. This is true for some SS4O mappings (like
http
andcommunication
), but not all of them, which led to the issue being undetected.This PR fixes the bug and adds a corresponding test case. In the future, we should look at adding an integration test that tries to connect an integration to its own sample data, which would have caught this bug significantly faster.
Issues Resolved
Fixes validation bug for #1148
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.