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

Bug data producer id missing in reports #173

Closed
wants to merge 4 commits into from

Conversation

manu-govind
Copy link
Collaborator

Fixed issue of Reports and RDLQ not using data_producer_id

Copy link

sonarcloud bot commented Aug 29, 2024

Copy link
Collaborator

@mkrystof mkrystof left a comment

Choose a reason for hiding this comment

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

Please remove all the easy-rules stuff from this PR.

@@ -62,6 +62,17 @@ dependencies {
implementation "com.expediagroup:graphql-kotlin-schema-generator:6.0.0"
implementation "io.ktor:ktor-server-netty:2.1.0"
implementation "io.ktor:ktor-client-content-negotiation:2.1.0"

implementation("org.jeasy:easy-rules-core:4.1.0")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this bug fix is mixed up with the easy-rules stuff. Do you need to include both in this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure how it got in there. Will remove it.

this.messageMetadata = messageMetadata
this.stageInfo= stageInfo
this.tags = tags
this.data = data
this.jurisdiction = jurisdiction
Copy link
Collaborator

Choose a reason for hiding this comment

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

The jurisdiction should not be removed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Same. Removed the duplicated one. Somehow both were added twice.

@@ -239,13 +248,12 @@ class ReportManager: KoinComponent {
this.dataStreamRoute = dataStreamRoute
this.dexIngestDateTime = dexIngestDateTime
this.jurisdiction = jurisdiction
this.senderId = senderId
Copy link
Collaborator

Choose a reason for hiding this comment

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

The senderId should not be removed.

Copy link
Collaborator Author

@manu-govind manu-govind Aug 30, 2024

Choose a reason for hiding this comment

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

I removed the duplicated one. It was repeated in the function.

@manu-govind manu-govind deleted the bug-data-producer-id-missing-in-reports branch August 30, 2024 14:01
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.

2 participants