-
-
-
-
-
- {`Unable to connect`}
-
-
-
- There was a problem fetching the data: {props.errors.join(", ")}!
-
-
-
-
- |
-
- );
-}
diff --git a/packages/sonataflow-deployment-webapp/src/pages/Workflows/index.tsx b/packages/sonataflow-deployment-webapp/src/pages/Workflows/index.tsx
index 0ce6c100c96..37e3ef88596 100644
--- a/packages/sonataflow-deployment-webapp/src/pages/Workflows/index.tsx
+++ b/packages/sonataflow-deployment-webapp/src/pages/Workflows/index.tsx
@@ -17,5 +17,4 @@
* under the License.
*/
-export * from "./Workflows";
export * from "./WorkflowFormPage";
diff --git a/packages/sonataflow-deployment-webapp/src/routes/index.ts b/packages/sonataflow-deployment-webapp/src/routes/index.ts
index a1dccb67c14..f7689635268 100644
--- a/packages/sonataflow-deployment-webapp/src/routes/index.ts
+++ b/packages/sonataflow-deployment-webapp/src/routes/index.ts
@@ -30,6 +30,7 @@ export enum QueryParams {
export enum PathParams {
WORKFLOW_ID = "workflowId",
+ WORKFLOW_NAME = "workflowName",
}
export class Route<
@@ -105,8 +106,8 @@ export const routes = {
queryParams: QueryParams.FILTERS | QueryParams.SORT_BY;
pathParams: PathParams.WORKFLOW_ID;
}>(({ workflowId }) => RUNTIME_TOOLS_ROUTE + `/workflow-details/${workflowId}`),
+ workflowDefinitions: new Route<{}>(() => RUNTIME_TOOLS_ROUTE + `/workflow-definitions`),
},
-
dataJson: new Route<{}>(() => "/" + APPDATA_JSON_FILENAME),
openApiJson: new Route<{}>(() => "/q/openapi.json"),
};
diff --git a/packages/sonataflow-deployment-webapp/src/runtimeTools/contexts/DeploymentWorkflowDefinitionListContextProvider.tsx b/packages/sonataflow-deployment-webapp/src/runtimeTools/contexts/DeploymentWorkflowDefinitionListContextProvider.tsx
new file mode 100644
index 00000000000..8568e5e0d88
--- /dev/null
+++ b/packages/sonataflow-deployment-webapp/src/runtimeTools/contexts/DeploymentWorkflowDefinitionListContextProvider.tsx
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import * as React from "react";
+import { WorkflowDefinitionListContextProvider } from "@kie-tools/runtime-tools-swf-webapp-components/dist/WorkflowDefinitionList";
+import { useApp } from "../../context/AppContext";
+
+export function DeploymentWorkflowDefinitionListContextProvider(props: React.PropsWithChildren<{}>) {
+ const app = useApp();
+
+ return (
+