From 788d1e018a377caad773dda94679fb480a5d0c6c Mon Sep 17 00:00:00 2001 From: Jeff Puzzo Date: Thu, 23 May 2024 08:55:20 -0400 Subject: [PATCH] [RHOAIENG-4385] DSPA - Add back the Folder Info --- .../ObjectStorageSection.tsx | 76 ++++++++++++++++--- 1 file changed, 67 insertions(+), 9 deletions(-) diff --git a/frontend/src/concepts/pipelines/content/configurePipelinesServer/ObjectStorageSection.tsx b/frontend/src/concepts/pipelines/content/configurePipelinesServer/ObjectStorageSection.tsx index 2b33457413..41654173df 100644 --- a/frontend/src/concepts/pipelines/content/configurePipelinesServer/ObjectStorageSection.tsx +++ b/frontend/src/concepts/pipelines/content/configurePipelinesServer/ObjectStorageSection.tsx @@ -7,10 +7,16 @@ import { InputGroup, Tooltip, InputGroupItem, + Alert, + Popover, + List, + ListItem, + Stack, + StackItem, } from '@patternfly/react-core'; import React from 'react'; import { DataConnection } from '~/pages/projects/types'; -import { PIPELINE_AWS_FIELDS } from '~/pages/projects/dataConnections/const'; +import { AwsKeys, PIPELINE_AWS_FIELDS } from '~/pages/projects/dataConnections/const'; import { FieldListField } from '~/components/FieldList'; import { PipelineServerConfigType } from './types'; import './ConfigurePipelinesServerModal.scss'; @@ -85,14 +91,66 @@ export const ObjectStorageSection = ({ ) : ( - data.key === field.key)?.value || '' - } - options={field} - onChange={onChange} - /> + <> + data.key === field.key)?.value || '' + } + options={field} + onChange={onChange} + /> + + {field.key === AwsKeys.AWS_S3_BUCKET && ( + + +
+ If the pipeline is uploaded in the UI: +
+ + + Pipeline metadata will be created in a /pipelines/bucket directory. + + + Pipeline artifacts will be created in a{' '} + [pipeline name]/bucket directory. + + + Pipeline uploaded file will be created in a /bucket directory. + + +
+ + +
+ If the pipeline is created in Elyra: +
+ + + Pipeline and artifacts will be stored in a{' '} + [pipeline name]/bucket directory. + + +
+ + } + > + +
+ )} + ), )}