apache-airflow-providers-edge3 1.4.0__py3-none-any.whl → 1.4.1rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airflow/providers/edge3/__init__.py +1 -1
- airflow/providers/edge3/plugins/edge_executor_plugin.py +2 -10
- airflow/providers/edge3/plugins/www/dist/main.umd.cjs +15 -34
- airflow/providers/edge3/plugins/www/package.json +22 -22
- airflow/providers/edge3/plugins/www/pnpm-lock.yaml +1502 -1509
- airflow/providers/edge3/plugins/www/src/layouts/EdgeLayout.tsx +9 -14
- airflow/providers/edge3/plugins/www/src/layouts/NavTabs.tsx +1 -8
- airflow/providers/edge3/plugins/www/src/pages/JobsPage.tsx +7 -8
- airflow/providers/edge3/plugins/www/vite.config.ts +2 -1
- {apache_airflow_providers_edge3-1.4.0.dist-info → apache_airflow_providers_edge3-1.4.1rc1.dist-info}/METADATA +12 -12
- {apache_airflow_providers_edge3-1.4.0.dist-info → apache_airflow_providers_edge3-1.4.1rc1.dist-info}/RECORD +13 -13
- {apache_airflow_providers_edge3-1.4.0.dist-info → apache_airflow_providers_edge3-1.4.1rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_edge3-1.4.0.dist-info → apache_airflow_providers_edge3-1.4.1rc1.dist-info}/entry_points.txt +0 -0
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* under the License.
|
|
18
18
|
*/
|
|
19
19
|
import { Box } from "@chakra-ui/react";
|
|
20
|
-
import {
|
|
20
|
+
import { Navigate, Route, Routes } from "react-router-dom";
|
|
21
21
|
|
|
22
22
|
import { JobsPage } from "src/pages/JobsPage";
|
|
23
23
|
import { WorkerPage } from "src/pages/WorkerPage";
|
|
@@ -26,23 +26,18 @@ import { NavTabs } from "./NavTabs";
|
|
|
26
26
|
|
|
27
27
|
export const EdgeLayout = () => {
|
|
28
28
|
const tabs = [
|
|
29
|
-
{ label: "Edge Worker", value: "
|
|
30
|
-
{ label: "Edge Jobs", value: "
|
|
29
|
+
{ label: "Edge Worker", value: "worker" },
|
|
30
|
+
{ label: "Edge Jobs", value: "jobs" },
|
|
31
31
|
];
|
|
32
32
|
|
|
33
|
-
// Extract base URL from HTML base element to handle webserver.base_url configuration
|
|
34
|
-
const baseUrl = document.querySelector("base")?.href ?? "http://localhost:8080/";
|
|
35
|
-
const basename = new URL(baseUrl).pathname;
|
|
36
|
-
|
|
37
33
|
return (
|
|
38
34
|
<Box p={2} /* Compensate for parent padding from ExternalView */>
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</BrowserRouter>
|
|
35
|
+
<NavTabs tabs={tabs} />
|
|
36
|
+
<Routes>
|
|
37
|
+
<Route index element={<Navigate to="worker" replace />} />
|
|
38
|
+
<Route path="worker" element={<WorkerPage />} />
|
|
39
|
+
<Route path="jobs" element={<JobsPage />} />
|
|
40
|
+
</Routes>
|
|
46
41
|
</Box>
|
|
47
42
|
);
|
|
48
43
|
};
|
|
@@ -33,14 +33,7 @@ export const NavTabs = ({ tabs }: Props) => {
|
|
|
33
33
|
return (
|
|
34
34
|
<Flex alignItems="center" borderBottomWidth={1} mb={2} ref={containerRef}>
|
|
35
35
|
{tabs.map(({ icon, label, value }) => (
|
|
36
|
-
<NavLink
|
|
37
|
-
end
|
|
38
|
-
key={value}
|
|
39
|
-
title={label}
|
|
40
|
-
to={{
|
|
41
|
-
pathname: value,
|
|
42
|
-
}}
|
|
43
|
-
>
|
|
36
|
+
<NavLink end key={value} title={label} to={value}>
|
|
44
37
|
{({ isActive }) => (
|
|
45
38
|
<Center
|
|
46
39
|
borderBottomColor="border.info"
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
* specific language governing permissions and limitations
|
|
17
17
|
* under the License.
|
|
18
18
|
*/
|
|
19
|
-
import { Box,
|
|
19
|
+
import { Box, Table, Text } from "@chakra-ui/react";
|
|
20
20
|
import { useUiServiceJobs } from "openapi/queries";
|
|
21
|
-
import { Link
|
|
21
|
+
import { Link } from "react-router-dom";
|
|
22
22
|
import TimeAgo from "react-timeago";
|
|
23
23
|
|
|
24
24
|
import { ErrorAlert } from "src/components/ErrorAlert";
|
|
@@ -60,22 +60,21 @@ export const JobsPage = () => {
|
|
|
60
60
|
key={`${job.dag_id}.${job.run_id}.${job.task_id}.${job.map_index}.${job.try_number}`}
|
|
61
61
|
>
|
|
62
62
|
<Table.Cell>
|
|
63
|
-
|
|
64
|
-
<Link href={`../dags/${job.dag_id}`}>{job.dag_id}</Link>
|
|
63
|
+
<Link to={`/dags/${job.dag_id}`}>{job.dag_id}</Link>
|
|
65
64
|
</Table.Cell>
|
|
66
65
|
<Table.Cell>
|
|
67
|
-
<Link
|
|
66
|
+
<Link to={`/dags/${job.dag_id}/runs/${job.run_id}`}>{job.run_id}</Link>
|
|
68
67
|
</Table.Cell>
|
|
69
68
|
<Table.Cell>
|
|
70
69
|
{job.map_index >= 0 ? (
|
|
71
70
|
<Link
|
|
72
|
-
|
|
71
|
+
to={`/dags/${job.dag_id}/runs/${job.run_id}/tasks/${job.task_id}/mapped/${job.map_index}?try_number=${job.try_number}`}
|
|
73
72
|
>
|
|
74
73
|
{job.task_id}
|
|
75
74
|
</Link>
|
|
76
75
|
) : (
|
|
77
76
|
<Link
|
|
78
|
-
|
|
77
|
+
to={`/dags/${job.dag_id}/runs/${job.run_id}/tasks/${job.task_id}?try_number=${job.try_number}`}
|
|
79
78
|
>
|
|
80
79
|
{job.task_id}
|
|
81
80
|
</Link>
|
|
@@ -91,7 +90,7 @@ export const JobsPage = () => {
|
|
|
91
90
|
{job.queued_dttm ? <TimeAgo date={job.queued_dttm} live={false} /> : undefined}
|
|
92
91
|
</Table.Cell>
|
|
93
92
|
<Table.Cell>
|
|
94
|
-
<
|
|
93
|
+
<Link to={`../worker#${job.edge_worker}`}>{job.edge_worker}</Link>
|
|
95
94
|
</Table.Cell>
|
|
96
95
|
<Table.Cell>
|
|
97
96
|
{job.last_update ? <TimeAgo date={job.last_update} live={false} /> : undefined}
|
|
@@ -38,11 +38,12 @@ export default defineConfig(({ command }) => {
|
|
|
38
38
|
name: "AirflowPlugin",
|
|
39
39
|
},
|
|
40
40
|
rollupOptions: {
|
|
41
|
-
external: ["react", "react-dom"],
|
|
41
|
+
external: ["react", "react-dom", "react-router-dom", "react/jsx-runtime"],
|
|
42
42
|
output: {
|
|
43
43
|
globals: {
|
|
44
44
|
react: "React",
|
|
45
45
|
"react-dom": "ReactDOM",
|
|
46
|
+
"react-router-dom": "ReactRouterDOM",
|
|
46
47
|
"react/jsx-runtime": "ReactJSXRuntime",
|
|
47
48
|
},
|
|
48
49
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-edge3
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.1rc1
|
|
4
4
|
Summary: Provider package apache-airflow-providers-edge3 for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,edge3,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -20,13 +20,13 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
|
23
|
-
Requires-Dist: apache-airflow>=2.10.0
|
|
24
|
-
Requires-Dist: apache-airflow-providers-common-compat>=1.8.
|
|
23
|
+
Requires-Dist: apache-airflow>=2.10.0,!=3.1.0
|
|
24
|
+
Requires-Dist: apache-airflow-providers-common-compat>=1.8.0rc1
|
|
25
25
|
Requires-Dist: pydantic>=2.11.0
|
|
26
26
|
Requires-Dist: retryhttp>=1.2.0,!=1.3.0
|
|
27
27
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
28
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-edge3/1.4.
|
|
29
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-edge3/1.4.
|
|
28
|
+
Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-edge3/1.4.1/changelog.html
|
|
29
|
+
Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-edge3/1.4.1
|
|
30
30
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
31
31
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
32
32
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -57,7 +57,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
|
57
57
|
|
|
58
58
|
Package ``apache-airflow-providers-edge3``
|
|
59
59
|
|
|
60
|
-
Release: ``1.4.
|
|
60
|
+
Release: ``1.4.1``
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
Handle edge workers on remote sites via HTTP(s) connection and orchestrates work over distributed sites.
|
|
@@ -82,7 +82,7 @@ This is a provider package for ``edge3`` provider. All classes for this provider
|
|
|
82
82
|
are in ``airflow.providers.edge3`` python package.
|
|
83
83
|
|
|
84
84
|
You can find package information and changelog for the provider
|
|
85
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-edge3/1.4.
|
|
85
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-edge3/1.4.1/>`_.
|
|
86
86
|
|
|
87
87
|
Installation
|
|
88
88
|
------------
|
|
@@ -96,14 +96,14 @@ The package supports the following python versions: 3.10,3.11,3.12,3.13
|
|
|
96
96
|
Requirements
|
|
97
97
|
------------
|
|
98
98
|
|
|
99
|
-
==========================================
|
|
99
|
+
========================================== ====================
|
|
100
100
|
PIP package Version required
|
|
101
|
-
==========================================
|
|
102
|
-
``apache-airflow`` ``>=2.10.0``
|
|
101
|
+
========================================== ====================
|
|
102
|
+
``apache-airflow`` ``>=2.10.0,!=3.1.0``
|
|
103
103
|
``apache-airflow-providers-common-compat`` ``>=1.8.0``
|
|
104
104
|
``pydantic`` ``>=2.11.0``
|
|
105
105
|
``retryhttp`` ``>=1.2.0,!=1.3.0``
|
|
106
|
-
==========================================
|
|
106
|
+
========================================== ====================
|
|
107
107
|
|
|
108
108
|
Cross provider package dependencies
|
|
109
109
|
-----------------------------------
|
|
@@ -125,5 +125,5 @@ Dependent package
|
|
|
125
125
|
================================================================================================================== =================
|
|
126
126
|
|
|
127
127
|
The changelog for the provider package can be found in the
|
|
128
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-edge3/1.4.
|
|
128
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-edge3/1.4.1/changelog.html>`_.
|
|
129
129
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
airflow/providers/edge3/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
2
|
-
airflow/providers/edge3/__init__.py,sha256=
|
|
2
|
+
airflow/providers/edge3/__init__.py,sha256=YJGs4Uf4WWsejZd4Uumqg7rX6HFH8Z1mDA3I79ElcH0,1494
|
|
3
3
|
airflow/providers/edge3/get_provider_info.py,sha256=Ek27-dB4UALHUFYoYjtoQIGq0p7zeHcEgmELHvpVmCU,6836
|
|
4
4
|
airflow/providers/edge3/version_compat.py,sha256=JRhqYf4UklO3xwmtCRPSXLQqq0yD1pCts3bhwxgVC0s,1670
|
|
5
5
|
airflow/providers/edge3/cli/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
@@ -22,7 +22,7 @@ airflow/providers/edge3/openapi/__init__.py,sha256=0O-WvmDx8GeKSoECpHYrbe0hW-Lgj
|
|
|
22
22
|
airflow/providers/edge3/openapi/edge_worker_api_v1.yaml,sha256=GAE2IdOXmcUueNy5KFkLBgNpoWnOjnHT9TrW5NZEWpI,24938
|
|
23
23
|
airflow/providers/edge3/openapi/v2-edge-generated.yaml,sha256=VBjkPbZjG73QiU75H7UK45q0lLpMsK5E45L9j-LQypI,39727
|
|
24
24
|
airflow/providers/edge3/plugins/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
25
|
-
airflow/providers/edge3/plugins/edge_executor_plugin.py,sha256=
|
|
25
|
+
airflow/providers/edge3/plugins/edge_executor_plugin.py,sha256=El-MxIVg6311LYCvbWviAU589TYrT8_TTEXt1PoGVmo,13063
|
|
26
26
|
airflow/providers/edge3/plugins/templates/edge_worker_hosts.html,sha256=0_P2yfZwpy3Kvqd3GBvu_PgmmKCUbso3ieW8aYa76iU,8997
|
|
27
27
|
airflow/providers/edge3/plugins/templates/edge_worker_jobs.html,sha256=bZ-6ysmIy6j4eR_TPHiqbgb3qpNMKCcEEB-SpxuxNgc,2831
|
|
28
28
|
airflow/providers/edge3/plugins/www/.gitignore,sha256=glCQO0xBUzFDPKNjn3_mw7F6e51j3sjyo4knJAUqMz4,281
|
|
@@ -31,16 +31,16 @@ airflow/providers/edge3/plugins/www/.prettierrc,sha256=l0bDuMVuy86p4BwgAssF2AqJL
|
|
|
31
31
|
airflow/providers/edge3/plugins/www/README.md,sha256=VLm9Gf_vSdATdAaSeHDkKHmw3Oo_r4ZIHyu_8o0hju4,5110
|
|
32
32
|
airflow/providers/edge3/plugins/www/eslint.config.js,sha256=8KEosRBtZkvb2mZYWagAukze0WUu8hrPWz4eSj1ONKE,1851
|
|
33
33
|
airflow/providers/edge3/plugins/www/index.html,sha256=PsqOtfHrJYYwQjxqcAkVOmsl2cRJe8biKygXJjAj2ng,413
|
|
34
|
-
airflow/providers/edge3/plugins/www/package.json,sha256=
|
|
35
|
-
airflow/providers/edge3/plugins/www/pnpm-lock.yaml,sha256=
|
|
34
|
+
airflow/providers/edge3/plugins/www/package.json,sha256=hvYwweROXrpWJNDpR0rVpH_tgLfEg1_hwC8zjNW5aIk,2446
|
|
35
|
+
airflow/providers/edge3/plugins/www/pnpm-lock.yaml,sha256=nvW-vQc0CYiwWKffQdFRostOzQe4V4AuPyITGd8jyho,219643
|
|
36
36
|
airflow/providers/edge3/plugins/www/testsSetup.ts,sha256=x1L_lXmigZgufra1L32Xcci_lLifbaG_tP6vx6gPscc,852
|
|
37
37
|
airflow/providers/edge3/plugins/www/tsconfig.app.json,sha256=zpihgvrBvwjOwtHddJtYUi7Gp26diFtNYmJ7XlM3GUU,753
|
|
38
38
|
airflow/providers/edge3/plugins/www/tsconfig.json,sha256=jZfUc2grkJB0eRDSFPEPfmBblsr__nGAww3ojidM0ho,158
|
|
39
39
|
airflow/providers/edge3/plugins/www/tsconfig.lib.json,sha256=Z5M3uhtIZ0Uc9CFjc7Fro7sWv9iOP3z0iX-dzmdTBtQ,392
|
|
40
40
|
airflow/providers/edge3/plugins/www/tsconfig.node.json,sha256=On9I0qUPqRSyxJNKP5OlnWX_rYR1CKZV8A3IgF1UxvE,680
|
|
41
|
-
airflow/providers/edge3/plugins/www/vite.config.ts,sha256=
|
|
41
|
+
airflow/providers/edge3/plugins/www/vite.config.ts,sha256=mxAyXyZhIaFA46v7DY4yAo__y6gs9YXuIIPEhN-6xis,2971
|
|
42
42
|
airflow/providers/edge3/plugins/www/dist/main.d.ts,sha256=eZKjnWzeXgUOt4RhqL-a2YYXWpSCboNcEQs5ZykL0kk,10
|
|
43
|
-
airflow/providers/edge3/plugins/www/dist/main.umd.cjs,sha256=
|
|
43
|
+
airflow/providers/edge3/plugins/www/dist/main.umd.cjs,sha256=ep8ELl_od8R_ZgkIFQwbWy2mud0AQ80b86VQWbtFSaQ,561336
|
|
44
44
|
airflow/providers/edge3/plugins/www/openapi-gen/queries/common.ts,sha256=mnY7x73LFNTprAZjwPRbl9W1VSmKXPflqtaQa4ocOxw,3531
|
|
45
45
|
airflow/providers/edge3/plugins/www/openapi-gen/queries/ensureQueryData.ts,sha256=CCvoih7AKo7voklUkF6EjcjMMVB0HOTY53mBFn2Nly0,1317
|
|
46
46
|
airflow/providers/edge3/plugins/www/openapi-gen/queries/index.ts,sha256=p941sYs7pyF4XLKPxPgBXIko0H6s2U4sowFygzJ6Jos,114
|
|
@@ -83,9 +83,9 @@ airflow/providers/edge3/plugins/www/src/components/ui/index.ts,sha256=oMFdotQy8u
|
|
|
83
83
|
airflow/providers/edge3/plugins/www/src/context/colorMode/ColorModeProvider.tsx,sha256=D9tDe9sYEQvCSQ_3fmf6zCaS9rZnzWoZrvb3qrJ0qf0,1024
|
|
84
84
|
airflow/providers/edge3/plugins/www/src/context/colorMode/index.ts,sha256=nTdA6xva8PrXEybO-JdQN4oSY9GHlHCPvUwREzJvhDM,879
|
|
85
85
|
airflow/providers/edge3/plugins/www/src/context/colorMode/useColorMode.tsx,sha256=YYcXELSveM_10fOwZeCh9yxiN8H7essKz1QDiy9Jio8,1122
|
|
86
|
-
airflow/providers/edge3/plugins/www/src/layouts/EdgeLayout.tsx,sha256=
|
|
87
|
-
airflow/providers/edge3/plugins/www/src/layouts/NavTabs.tsx,sha256=
|
|
88
|
-
airflow/providers/edge3/plugins/www/src/pages/JobsPage.tsx,sha256=
|
|
86
|
+
airflow/providers/edge3/plugins/www/src/layouts/EdgeLayout.tsx,sha256=17S8T1rnKA9416bz1yTeybK4_U_ENx2PbnezyN9PcXg,1532
|
|
87
|
+
airflow/providers/edge3/plugins/www/src/layouts/NavTabs.tsx,sha256=BA1BHI6VAu_8uB3hkCtEhrvKjxoE5taPQUAI2_1UXHQ,2040
|
|
88
|
+
airflow/providers/edge3/plugins/www/src/pages/JobsPage.tsx,sha256=tBgeEsd5TRDkwcsH2x3oOCMKyC4ak6GzfRbAZK6vjLI,4801
|
|
89
89
|
airflow/providers/edge3/plugins/www/src/pages/WorkerPage.tsx,sha256=nvEuqk0tr1Y_JMGJTYDzmdadwB-LiJ4OrdmqNfHhiwA,5070
|
|
90
90
|
airflow/providers/edge3/plugins/www/src/res/README.md,sha256=v9BEjvcB_pOcCP0bCL8wZ00xovBdzSk79FPFlqM9ZoQ,1010
|
|
91
91
|
airflow/providers/edge3/plugins/www/src/res/cloud-computer-dark.svg,sha256=o_HFnxsF9M8BbBgIMXuAv3gO0Wc7owQDg5hvw-Pz3ek,368
|
|
@@ -107,7 +107,7 @@ airflow/providers/edge3/worker_api/routes/jobs.py,sha256=Hu32JwzPNpNHRrQlnqDhjKa
|
|
|
107
107
|
airflow/providers/edge3/worker_api/routes/logs.py,sha256=uk0SZ5hAimj3sAcq1FYCDu0AXYNeTeyjZDGBvw-986E,4945
|
|
108
108
|
airflow/providers/edge3/worker_api/routes/ui.py,sha256=qXELQI6RZ80fLDTB0K6Z2H__ofJwRSvK6J1UYW3JC7g,9786
|
|
109
109
|
airflow/providers/edge3/worker_api/routes/worker.py,sha256=UcB20SV5Nhpi22NI0H5BQjlX2U9PgaFbyDVNd9PYfhg,8991
|
|
110
|
-
apache_airflow_providers_edge3-1.4.
|
|
111
|
-
apache_airflow_providers_edge3-1.4.
|
|
112
|
-
apache_airflow_providers_edge3-1.4.
|
|
113
|
-
apache_airflow_providers_edge3-1.4.
|
|
110
|
+
apache_airflow_providers_edge3-1.4.1rc1.dist-info/entry_points.txt,sha256=7WUIGfd3o9NvvbK5trbZxNXTgYGc6pqg74wZPigbx5o,206
|
|
111
|
+
apache_airflow_providers_edge3-1.4.1rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
112
|
+
apache_airflow_providers_edge3-1.4.1rc1.dist-info/METADATA,sha256=GU_BxpNe7jG8o_t9p1cNBDXQB5yWbJgew7aBusUuFG4,6133
|
|
113
|
+
apache_airflow_providers_edge3-1.4.1rc1.dist-info/RECORD,,
|
|
File without changes
|