@@ -31,8 +31,8 @@ var specLoaderTestCases = []specLoaderTestCase{
3131 return ""
3232 },
3333 sources : []* Source {
34- {Name : "gcp" , Path : "cloudquery/gcp" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresqlv2" }, TableConcurrency : 10 },
35- {Name : "aws" , Path : "cloudquery/aws" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresql" }, TableConcurrency : 10 },
34+ {Name : "gcp" , Path : "cloudquery/gcp" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresqlv2" }, TableConcurrency : 10 , Tables : [] string { "test" } },
35+ {Name : "aws" , Path : "cloudquery/aws" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresql" }, TableConcurrency : 10 , Tables : [] string { "test" } },
3636 },
3737 destinations : []* Destination {
3838 {Name : "postgresqlv2" , Path : "cloudquery/postgresql" , Version : "v1.0.0" , Registry : RegistryGrpc , WriteMode : WriteModeOverwrite , Spec : map [string ]any {"credentials" : "mytestcreds" }},
@@ -46,8 +46,8 @@ var specLoaderTestCases = []specLoaderTestCase{
4646 return ""
4747 },
4848 sources : []* Source {
49- {Name : "gcp" , Path : "cloudquery/gcp" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresqlv2" }, TableConcurrency : 10 },
50- {Name : "aws" , Path : "cloudquery/aws" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresql" }, TableConcurrency : 10 },
49+ {Name : "gcp" , Path : "cloudquery/gcp" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresqlv2" }, TableConcurrency : 10 , Tables : [] string { "test" } },
50+ {Name : "aws" , Path : "cloudquery/aws" , Version : "v1.0.0" , Registry : RegistryLocal , Destinations : []string {"postgresql" }, TableConcurrency : 10 , Tables : [] string { "test" } },
5151 },
5252 destinations : []* Destination {
5353 {Name : "postgresqlv2" , Path : "cloudquery/postgresql" , Version : "v1.0.0" , Registry : RegistryGrpc , WriteMode : WriteModeOverwrite , Spec : map [string ]any {"credentials" : "mytestcreds" }},
@@ -92,8 +92,8 @@ var specLoaderTestCases = []specLoaderTestCase{
9292 return ""
9393 },
9494 sources : []* Source {
95- {Name : "aws" , Path : "cloudquery/aws" , Version : "v4.6.1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }},
96- {Name : "azure" , Path : "cloudquery/azure" , Version : "v1.3.3" , Registry : RegistryGithub , Destinations : []string {"postgresql" }},
95+ {Name : "aws" , Path : "cloudquery/aws" , Version : "v4.6.1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }, Tables : [] string { "test" } },
96+ {Name : "azure" , Path : "cloudquery/azure" , Version : "v1.3.3" , Registry : RegistryGithub , Destinations : []string {"postgresql" }, Tables : [] string { "test" } },
9797 },
9898 destinations : []* Destination {
9999 {Name : "postgresql" , Path : "cloudquery/postgresql" , Version : "v1.6.3" , Registry : RegistryGithub , Spec : map [string ]any {"connection_string" : "postgresql://postgres:pass@localhost:5432/postgres" }},
@@ -106,8 +106,8 @@ var specLoaderTestCases = []specLoaderTestCase{
106106 return ""
107107 },
108108 sources : []* Source {
109- {Name : "aws" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }},
110- {Name : "azure" , Path : "cloudquery/azure" , Version : "v1.3.3" , Registry : RegistryGithub , Destinations : []string {"postgresql" , "postgresql" }},
109+ {Name : "aws" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }, Tables : [] string { "test" } },
110+ {Name : "azure" , Path : "cloudquery/azure" , Version : "v1.3.3" , Registry : RegistryGithub , Destinations : []string {"postgresql" , "postgresql" }, Tables : [] string { "test" } },
111111 },
112112 destinations : []* Destination {
113113 {Name : "postgresql" , Path : "cloudquery/postgresql" , Version : "v1.6.3" , Registry : RegistryGithub , Spec : map [string ]any {"connection_string" : "postgresql://localhost:5432/cloudquery?sslmode=disable" , "version" : "#v1" }},
@@ -125,8 +125,8 @@ var specLoaderTestCases = []specLoaderTestCase{
125125 return "failed to expand environment variable in file testdata/env_variables.yml (section 3): env variable CONNECTION_STRING not found"
126126 },
127127 sources : []* Source {
128- {Name : "aws" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }},
129- {Name : "azure" , Path : "cloudquery/azure" , Version : "v1.3.3" , Registry : RegistryGithub , Destinations : []string {"postgresql" , "postgresql" }},
128+ {Name : "aws" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }, Tables : [] string { "test" } },
129+ {Name : "azure" , Path : "cloudquery/azure" , Version : "v1.3.3" , Registry : RegistryGithub , Destinations : []string {"postgresql" , "postgresql" }, Tables : [] string { "test" } },
130130 },
131131 destinations : []* Destination {
132132 {Name : "postgresql" , Path : "cloudquery/postgresql" , Version : "v1.6.3" , Registry : RegistryGithub , Spec : map [string ]any {}},
@@ -143,7 +143,7 @@ var specLoaderTestCases = []specLoaderTestCase{
143143 return ""
144144 },
145145 sources : []* Source {
146- {Name : "test" , Path : "cloudquery/test" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }},
146+ {Name : "test" , Path : "cloudquery/test" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }, Tables : [] string { "test" } },
147147 },
148148 destinations : []* Destination {
149149 {Name : "postgresql" , Path : "cloudquery/postgresql" , Version : "v1" , Registry : RegistryGithub , Spec : map [string ]any {"custom_version" : "#v1" }},
@@ -159,7 +159,7 @@ var specLoaderTestCases = []specLoaderTestCase{
159159 return "failed to expand environment variable in file testdata/env_variable_in_string.yml (section 2): env variable VERSION not found"
160160 },
161161 sources : []* Source {
162- {Name : "test" , Path : "cloudquery/test" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }},
162+ {Name : "test" , Path : "cloudquery/test" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"postgresql" }, Tables : [] string { "test" } },
163163 },
164164 destinations : []* Destination {
165165 {Name : "postgresql" , Path : "cloudquery/postgresql" , Version : "v1" , Registry : RegistryGithub , Spec : map [string ]any {}},
@@ -173,8 +173,8 @@ var specLoaderTestCases = []specLoaderTestCase{
173173 return ""
174174 },
175175 sources : []* Source {
176- {Name : "0123456789" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"0987654321" }},
177- {Name : "012345" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"0987654321" }},
176+ {Name : "0123456789" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"0987654321" }, Tables : [] string { "test" } },
177+ {Name : "012345" , Path : "cloudquery/aws" , Version : "v1" , Registry : RegistryGithub , Destinations : []string {"0987654321" }, Tables : [] string { "test" } },
178178 },
179179 destinations : []* Destination {
180180 {Name : "0987654321" , Path : "cloudquery/postgresql" , Version : "v1" , Registry : RegistryGithub , Spec : map [string ]any {"connection_string" : "postgresql://localhost:5432/cloudquery?sslmode=disable" }},
0 commit comments