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

Added quotes for dots while fetching the service names #12230

Closed
wants to merge 1 commit into from

Conversation

OnkarVO7
Copy link
Contributor

Describe your changes:

Added quotes for dots while fetching the service names

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@OnkarVO7 OnkarVO7 requested a review from pmbrull June 29, 2023 10:49
@OnkarVO7 OnkarVO7 temporarily deployed to test June 29, 2023 10:49 — with GitHub Actions Inactive
@OnkarVO7 OnkarVO7 temporarily deployed to test June 29, 2023 10:49 — with GitHub Actions Inactive
@OnkarVO7 OnkarVO7 temporarily deployed to test June 29, 2023 10:49 — with GitHub Actions Inactive
@github-actions github-actions bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Jun 29, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jun 29, 2023

[open-metadata-airflow-apis] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@cypress
Copy link

cypress bot commented Jun 29, 2023

Passing run #25179 ↗︎

0 249 59 0 Flakiness 0

Details:

Added quotes for dots
Project: openmetadata Commit: ff597ca144
Status: Passed Duration: 28:27 💡
Started: Jun 29, 2023 11:11 AM Ended: Jun 29, 2023 11:39 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

sourceConfig=ingestion_pipeline.sourceConfig,
serviceConnection=None, # retrieved from the test suite workflow using the `sourceConfig.config.entityFullyQualifiedName`
)

if service_type == "databaseService":
entity_class = DatabaseService
service: DatabaseService = metadata.get_by_name(
entity=entity_class, fqn=ingestion_pipeline.service.name
entity=entity_class, fqn=quote_name(ingestion_pipeline.service.name)
Copy link
Member

Choose a reason for hiding this comment

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

instead of modifying all the get_by_name, why not change it in the method itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes we can do that

@harshach
Copy link
Collaborator

harshach commented Jul 1, 2023

@OnkarVO7 this is already fixed on the backend #12217 . Can you check if we merge that patch. Do we need this?

@OnkarVO7
Copy link
Contributor Author

OnkarVO7 commented Jul 3, 2023

@OnkarVO7 this is already fixed on the backend #12217 . Can you check if we merge that patch. Do we need this?

@harshach if the backend has already handled this then we won't need this PR. I will test it out with the backend patch and close this PR if it is already handled

@harshach harshach closed this Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ingestion safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants