pierrejeambrun commented on code in PR #51003:
URL: https://github.com/apache/airflow/pull/51003#discussion_r2106870200
##########
airflow-core/docs/administration-and-deployment/plugins.rst:
##########
@@ -192,13 +194,28 @@ definitions in Airflow.
"name": "Name of the Middleware",
}
+ # Creating a iframe view that will be rendered in the Airflow UI.
+ iframe_view_with_metadata = {
+ "name": "Name of the Iframe View",
+ # Source URL of the iframe. This URL can be templated using context
variables.
+ "src": "https://example.com/{DAG_ID}/{RUN_ID}/{TASK_ID}",
Review Comment:
> I assume if the plugin also contains a Blueprint then the src can be a
relative path to service from apiserver? Or does it require to be a full
absolute URL like an external site?
Exact! Both relative to the UI location or absolute. (apiserver blueprint
should work yes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]