Commit bce25ad
chore: embed Config into Tool (#1875)
To keep a persistent backend storage for configuration, we will have to
keep a single source of truth. This involves supporting bi-directional
conversion between Config and Tool.
This PR make the following changes:
* Embed Config in Tool
* Add `ToConfig()` to extract Config from Tool.
Jules PR
---
*PR created automatically by Jules for task
[11947649751737965380](https://jules.google.com/task/11947649751737965380)*
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <yuanteoh@google.com>1 parent 1a930cf commit bce25ad
File tree
170 files changed
+1547
-1826
lines changed- internal
- server
- tools
- alloydbainl
- alloydb
- alloydbcreatecluster
- alloydbcreateinstance
- alloydbcreateuser
- alloydbgetcluster
- alloydbgetinstance
- alloydbgetuser
- alloydblistclusters
- alloydblistinstances
- alloydblistusers
- alloydbwaitforoperation
- bigquery
- bigqueryanalyzecontribution
- bigqueryconversationalanalytics
- bigqueryexecutesql
- bigqueryforecast
- bigquerygetdatasetinfo
- bigquerygettableinfo
- bigquerylistdatasetids
- bigquerylisttableids
- bigquerysearchcatalog
- bigquerysql
- bigtable
- cassandra/cassandracql
- clickhouse
- clickhouseexecutesql
- clickhouselistdatabases
- clickhouselisttables
- clickhousesql
- cloudhealthcare
- cloudhealthcarefhirfetchpage
- cloudhealthcarefhirpatienteverything
- cloudhealthcarefhirpatientsearch
- cloudhealthcaregetdataset
- cloudhealthcaregetdicomstoremetrics
- cloudhealthcaregetdicomstore
- cloudhealthcaregetfhirresource
- cloudhealthcaregetfhirstoremetrics
- cloudhealthcaregetfhirstore
- cloudhealthcarelistdicomstores
- cloudhealthcarelistfhirstores
- cloudhealthcareretrieverendereddicominstance
- cloudhealthcaresearchdicominstances
- cloudhealthcaresearchdicomseries
- cloudhealthcaresearchdicomstudies
- cloudmonitoring
- cloudsqlmssql/cloudsqlmssqlcreateinstance
- cloudsqlmysql/cloudsqlmysqlcreateinstance
- cloudsqlpg/cloudsqlpgcreateinstances
- cloudsql
- cloudsqlcreatedatabase
- cloudsqlcreateusers
- cloudsqlgetinstances
- cloudsqllistdatabases
- cloudsqllistinstances
- cloudsqlwaitforoperation
- couchbase
- dataform/dataformcompilelocal
- dataplex
- dataplexlookupentry
- dataplexsearchaspecttypes
- dataplexsearchentries
- dgraph
- elasticsearch/elasticsearchesql
- firebird
- firebirdexecutesql
- firebirdsql
- firestore
- firestoreadddocuments
- firestoredeletedocuments
- firestoregetdocuments
- firestoregetrules
- firestorelistcollections
- firestorequerycollection
- firestorequery
- firestoreupdatedocument
- firestorevalidaterules
- http
- looker
- lookeradddashboardelement
- lookerconversationalanalytics
- lookercreateprojectfile
- lookerdeleteprojectfile
- lookerdevmode
- lookergenerateembedurl
- lookergetconnectiondatabases
- lookergetconnectionschemas
- lookergetconnections
- lookergetconnectiontablecolumns
- lookergetconnectiontables
- lookergetdashboards
- lookergetdimensions
- lookergetexplores
- lookergetfilters
- lookergetlooks
- lookergetmeasures
- lookergetmodels
- lookergetparameters
- lookergetprojectfiles
- lookergetprojectfile
- lookergetprojects
- lookerhealthanalyze
- lookerhealthpulse
- lookerhealthvacuum
- lookermakedashboard
- lookermakelook
- lookerquerysql
- lookerqueryurl
- lookerquery
- lookerrundashboard
- lookerrunlook
- lookerupdateprojectfile
- mindsdb
- mindsdbexecutesql
- mindsdbsql
- mongodb
- mongodbaggregate
- mongodbdeletemany
- mongodbdeleteone
- mongodbfindone
- mongodbfind
- mongodbinsertmany
- mongodbinsertone
- mongodbupdatemany
- mongodbupdateone
- mssql
- mssqlexecutesql
- mssqllisttables
- mssqlsql
- mysql
- mysqlexecutesql
- mysqllistactivequeries
- mysqllisttablefragmentation
- mysqllisttablesmissinguniqueindexes
- mysqllisttables
- mysqlsql
- neo4j
- neo4jcypher
- neo4jexecutecypher
- neo4jschema
- oceanbase
- oceanbaseexecutesql
- oceanbasesql
- oracle
- oracleexecutesql
- oraclesql
- postgres
- postgresdatabaseoverview
- postgresexecutesql
- postgreslistactivequeries
- postgreslistavailableextensions
- postgreslistindexes
- postgreslistinstalledextensions
- postgreslistschemas
- postgreslistsequences
- postgreslisttables
- postgreslisttriggers
- postgreslistviews
- postgressql
- redis
- serverlessspark
- serverlesssparkcancelbatch
- serverlesssparkgetbatch
- serverlesssparklistbatches
- singlestore
- singlestoreexecutesql
- singlestoresql
- spanner
- spannerexecutesql
- spannerlisttables
- spannersql
- sqlite
- sqliteexecutesql
- sqlitesql
- tidb
- tidbexecutesql
- tidbsql
- trino
- trinoexecutesql
- trinosql
- utility/wait
- valkey
- yugabytedbsql
- tests/cloudmonitoring
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
170 files changed
+1547
-1826
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 109 | + | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 110 | + | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 111 | + | |
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
122 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| |||
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 106 | + | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 110 | + | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
120 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
| |||
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 107 | + | |
111 | 108 | | |
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 105 | + | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| |||
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 106 | + | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| |||
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 106 | + | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments