Repository navigation
Conversation
| SERVER_HOST_API_URL: ${SERVER_HOST_API_URL:-http://openmetadata-server:8585/api} | ||
| # OpenMetadata Server Airflow Configuration | ||
| AIRFLOW_HOST: ${AIRFLOW_HOST:-http://ingestion:8080} | ||
| SERVER_HOST_API_URL: ${SERVER_HOST_API_URL:-http://openmetadata-server:8585/api} |
There was a problem hiding this comment.
moved to Pipeline Service Config
|
The Java checkstyle failed. Please run You can install the pre-commit hooks with |
| # OpenMetadata Airflow Azure SSO Configuration | ||
| OM_AUTH_AIRFLOW_AZURE_CLIENT_SECRET: ${OM_AUTH_AIRFLOW_AZURE_CLIENT_SECRET:-""} | ||
| OM_AUTH_AIRFLOW_AZURE_AUTHORITY_URL: ${OM_AUTH_AIRFLOW_AZURE_AUTHORITY_URL:-""} | ||
| OM_AUTH_AIRFLOW_AZURE_SCOPES: ${OM_AUTH_AIRFLOW_AZURE_SCOPES:-[]} |
There was a problem hiding this comment.
all these OM_AUTH_* variables are not required anymore as we pick up the Ingestion Bot JWT directly
| <artifactId>argo-client-java</artifactId> | ||
| <version>v3.4.2</version> | ||
| <scope>system</scope> | ||
| <systemPath>${project.basedir}/src/main/resources/pipelineServiceClient/argo-client-java-v3.4.2.jar</systemPath> |
There was a problem hiding this comment.
the thought process of adding this to the resources directory is that the jar is not available in mavenrepo. Instead, argoproj publishes it as a Github package, and retrieving that through pom and maven repositories requires authenticating to github.
to ease the setup process and do not add noise to the CI, adding the jar locally seems a sensible middle ground
There was a problem hiding this comment.
Have we run Snyk after this change to check they don't have any security risk?
| : PipelineServiceClientConfiguration.DEFAULT_PIPELINE_SERVICE_CLIENT; | ||
|
|
||
| switch (pipelineServiceClientProvider) { | ||
| case AIRFLOW: |
There was a problem hiding this comment.
by default we'll use Airflow
| } | ||
|
|
||
| public static OpenMetadataWorkflowConfig buildUsageWorkflowConfig(IngestionPipeline ingestionPipeline) { | ||
| return null; |
There was a problem hiding this comment.
we have open issues to keep implementing these
There was a problem hiding this comment.
nit: IMHO we could apply a strategy pattern to build the OpenMetadataWorkflowConfig instead of overloading this class with static methods.
|
|
||
| @Override | ||
| public String runPipeline(String pipelineName) { | ||
| return null; |
There was a problem hiding this comment.
same, open issues to handle these implementations
| */ | ||
|
|
||
|
|
||
| package io.argoproj.workflow; |
There was a problem hiding this comment.
The java SDK for Argo Workflows is generated automatically from some openapi files. Currently there is a parsing issue of the type Instant that we need to patch by shadowing their JSON implementation and passing a new custom adapter
Test summaryRun details
View run in Cypress Dashboard ➡️ Failures
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
||||||||||||||||||||||||||||||||||
|
The Java checkstyle failed. Please run You can install the pre-commit hooks with |
|
The Java checkstyle failed. Please run You can install the pre-commit hooks with |
|
[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed! |








Describe your changes :
Fix #6753
This PR prepares the ground for further work on the Argo Client as a Pipeline Service. It currently can deploy metadata ingestion workflows from the UI.
Notice how we have updated a couple of configs on the
openmetadata.yamlabout Airflow, by grouping them inpipelineServiceClientConfiguration. We can discuss if this is the right move for 0.13.0 or we want to wait on delivering this.Happy to discuss! It's super rough so now's the time to chat and change :)
You can find all the followup work here #8586
Type of change :
Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.
Checklist:
Reviewers