API ingestion with BitBucket does not work
Affected module Does it impact the UI, backend or Ingestion Framework? Ingestion
Describe the bug A clear and concise description of what the bug is. With an OpenAPI spec on BitBucket Cloud I cannot get a connection successfully working. I debugged a bit with curl and so on. BitBucket Cloud responds a JSON in the body but with Content-Type "plain/text". This is not a bug in Open Metadata, nevertheless I cannot add APIs.
To Reproduce Use the Cloud API to get a JSON
Expected behavior A clear and concise description of what you expected to happen. I add an API with URL and the API gets ingested.
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: [e.g. 0.8] 1.6.4
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ] 1.6.4
Additional context Add any other context about the problem here. Consider dropping Content-Type and rather checking for tags in the JSON or file extension.
@chrisrayrayne if its not a bug in OpenMetadata, whats the goal with this issue? what are you expecting us to fix here?
I would prefer to have the connection check less strict, or checking the content rather the content-type. In this case we can still ingest from not so good setup sources, which are still parseable and trustworthy. I will do a proposal on a solution, you can then still decide if it fits your requirements. But I need to get my dev environment working first to test my changes. Could you please assign this issue to me?
Thanks @chrisrayrayne assigned it to you. If you need any help with dev env, jump into contributor channel in our OSS slack
fixed by: https://github.com/open-metadata/OpenMetadata/pull/20736