-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathCloudSQLPostgreSQL-connector.json
More file actions
158 lines (158 loc) · 3.79 KB
/
Copy pathCloudSQLPostgreSQL-connector.json
File metadata and controls
158 lines (158 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"metadata": {
"spec-version": "1.0"
},
"display-name": "CloudSQL PostgreSQL",
"configuration-groups": [
{
"label": "Basic",
"properties": [
{
"widget-type": "plugin-list",
"label": "JDBC Driver name",
"name": "jdbcPluginName",
"widget-attributes": {
"plugin-type": "jdbc"
}
},
{
"widget-type": "textbox",
"label": "Database",
"name": "database"
},
{
"widget-type": "radio-group",
"label": "CloudSQL Instance Type",
"name": "instanceType",
"widget-attributes": {
"layout": "inline",
"default": "public",
"options": [
{
"id": "public",
"label": "Public"
},
{
"id": "private",
"label": "Private"
}
]
}
},
{
"widget-type": "textbox",
"label": "Connection Name",
"name": "connectionName",
"widget-attributes": {
"placeholder": "CloudSQL instance connection name"
}
},
{
"widget-type": "number",
"label": "Port",
"name": "port",
"widget-attributes": {
"default": "5432"
}
},
{
"widget-type": "select",
"label": "Transaction Isolation Level",
"name": "transactionIsolationLevel",
"widget-attributes": {
"default": "TRANSACTION_READ_COMMITTED",
"values": [
"TRANSACTION_READ_COMMITTED",
"TRANSACTION_REPEATABLE_READ",
"TRANSACTION_SERIALIZABLE"
]
}
}
]
},
{
"label": "Credentials",
"properties": [
{
"widget-type": "textbox",
"label": "Username",
"name": "user",
"widget-attributes": {
"placeholder": "The username to use to connect to the CloudSQL database"
}
},
{
"widget-type": "password",
"label": "Password",
"name": "password",
"widget-attributes": {
"placeholder": "The password to use to connect to the CloudSQL database"
}
}
]
},
{
"label": "Advanced",
"properties": [
{
"widget-type": "keyvalue",
"label": "Connection Arguments",
"name": "connectionArguments",
"widget-attributes": {
"showDelimiter": "false",
"key-placeholder": "Key",
"value-placeholder": "Value",
"kv-delimiter": "=",
"delimiter": ";"
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": [],
"filters": [
{
"name": "showPrivateInstanceProperties ",
"condition": {
"expression": "instanceType == 'private'"
},
"show": [
{
"type": "property",
"name": "port"
}
]
}
]
}