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

Prevent null usernames being added when ingesting cloud data #838

Merged

Conversation

eiffel777
Copy link
Contributor

This prevents the usernames that are null for a cloud event from being ingested and causing an error when running the cloud ingestor pipelines

Tests performed

Manually tested in docker and passed existing tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@eiffel777 eiffel777 requested a review from plessbd March 5, 2019 18:06
@eiffel777 eiffel777 self-assigned this Mar 5, 2019
@eiffel777 eiffel777 added bug Bugfixes Category:Cloud Cloud Realm labels Mar 5, 2019
@eiffel777 eiffel777 added this to the 8.1.0 milestone Mar 5, 2019
@@ -19,6 +19,9 @@
"alias": "r",
"on": "r.id = raw.resource_id"
}
],
"where": [
"raw.user_name IS NOT NULL"
Copy link
Contributor

Choose a reason for hiding this comment

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

i believe this should be 4 spaces and not 2...
same with the other file.

Copy link
Contributor

@plessbd plessbd left a comment

Choose a reason for hiding this comment

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

verified on federated cloud instances as working

@eiffel777 eiffel777 merged commit 95fb843 into ubccr:xdmod8.1 Mar 5, 2019
@smgallo smgallo changed the title Prevent null usernames being added when ingestion cloud data Prevent null usernames being added when ingesting cloud data Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Cloud Cloud Realm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants