File tree Expand file tree Collapse file tree 3 files changed +10
-23
lines changed
web-common/src/features/sources/modal Expand file tree Collapse file tree 3 files changed +10
-23
lines changed Original file line number Diff line number Diff line change @@ -24,27 +24,14 @@ var spec = drivers.Spec{
2424 DocsURL : "https://docs.rilldata.com/build/connectors/data-source/azure" ,
2525 ConfigProperties : []* drivers.PropertySpec {
2626 {
27- Key : "azure_storage_account" ,
28- Type : drivers .StringPropertyType ,
29- Secret : true ,
30- },
31- {
32- Key : "azure_storage_key" ,
33- Type : drivers .StringPropertyType ,
34- Secret : true ,
35- },
36- {
37- Key : "azure_storage_sas_token" ,
38- Type : drivers .StringPropertyType ,
39- Secret : true ,
40- },
41- {
42- Key : "azure_storage_connection_string" ,
43- Type : drivers .StringPropertyType ,
44- Secret : true ,
27+ Key : "azure_storage_connection_string" ,
28+ Type : drivers .StringPropertyType ,
29+ DisplayName : "Azure Connection String" ,
30+ Description : "Azure connection string for storage account" ,
31+ Placeholder : "Paste your Azure connection string here" ,
32+ Secret : true ,
4533 },
4634 },
47- // Important: Any edits to the below properties must be accompanied by changes to the client-side form validation schemas.
4835 SourceProperties : []* drivers.PropertySpec {
4936 {
5037 Key : "path" ,
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export const OLAP_ENGINES = [
6767export const ALL_CONNECTORS = [ ...SOURCES , ...OLAP_ENGINES ] ;
6868
6969// Connectors that support multi-step forms (connector -> source)
70- export const MULTI_STEP_CONNECTORS = [ "gcs" ] ;
70+ export const MULTI_STEP_CONNECTORS = [ "gcs" , "azure" ] ;
7171
7272export const FORM_HEIGHT_TALL = "max-h-[38.5rem] min-h-[38.5rem]" ;
7373export const FORM_HEIGHT_DEFAULT = "max-h-[34.5rem] min-h-[34.5rem]" ;
Original file line number Diff line number Diff line change @@ -66,18 +66,18 @@ export const getYupSchema = {
6666 } ) ,
6767
6868 azure : yup . object ( ) . shape ( {
69+ azure_storage_connection_string : yup . string ( ) ,
6970 path : yup
7071 . string ( )
7172 . matches (
7273 / ^ a z u r e : \/ \/ / ,
7374 "Must be an Azure URI (e.g. azure://container/path)" ,
7475 )
75- . required ( "Path is required" ) ,
76- azure_storage_account : yup . string ( ) ,
76+ . optional ( ) ,
7777 name : yup
7878 . string ( )
7979 . matches ( VALID_NAME_PATTERN , INVALID_NAME_MESSAGE )
80- . required ( "Source name is required" ) ,
80+ . optional ( ) ,
8181 } ) ,
8282
8383 postgres : yup . object ( ) . shape ( {
You can’t perform that action at this time.
0 commit comments