sq/cli/config/testdata/good.01.sq.yml

169 lines
4.4 KiB
YAML
Raw Normal View History

config_version: v0.34.0
options:
ping_timeout: 10s
shell_completion_timeout: 1s
2020-08-06 20:58:47 +03:00
output_format: table
output_header: true
collection:
active_source: '@sl1'
2020-08-06 20:58:47 +03:00
scratch: ""
sources:
2020-08-06 20:58:47 +03:00
- handle: '@sl1'
driver: sqlite3
2020-08-06 20:58:47 +03:00
location: sqlite3://${SQ_ROOT}/drivers/sqlite3/testdata/sqtest.db
- handle: '@xl1'
driver: xlsx
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/xlsx/testdata/test_header.xlsx
options:
2020-08-06 20:58:47 +03:00
header:
- "true"
- handle: '@csv1'
driver: csv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_header.csv
options:
2020-08-06 20:58:47 +03:00
header:
- "true"
- handle: '@ms1'
driver: sqlserver
2020-08-06 20:58:47 +03:00
location: sqlserver://sq:p_ssW0rd@localhost?database=sqtest
- handle: '@my1'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://sq:p_ssW0rd@localhost:3306/sqtest
- handle: '@pg1'
driver: postgres
2020-08-06 20:58:47 +03:00
location: postgres://sq:p_ssW0rd@localhost/sqtest?sslmode=disable
- handle: '@ms_sqtest'
driver: sqlserver
2020-08-06 20:58:47 +03:00
location: sqlserver://sq:p_ssW0rd@localhost?database=sqtest
- handle: '@ms_sqtype'
driver: sqlserver
2020-08-06 20:58:47 +03:00
location: sqlserver://sq:p_ssW0rd@localhost?database=sqtype
- handle: '@pg_sqtest'
driver: postgres
2020-08-06 20:58:47 +03:00
location: postgres://sq:p_ssW0rd@localhost/sqtest?sslmode=disable
- handle: '@pg_sqtype'
driver: postgres
2020-08-06 20:58:47 +03:00
location: postgres://sq:p_ssW0rd@localhost/sqtype?sslmode=disable
- handle: '@sl_sqtest'
driver: sqlite3
2020-08-06 20:58:47 +03:00
location: sqlite3://${SQ_ROOT}/drivers/sqlite3/testdata/sqtest.db
- handle: '@sl_sqtype'
driver: sqlite3
2020-08-06 20:58:47 +03:00
location: sqlite3://${SQ_ROOT}/drivers/sqlite3/testdata/sqtype.db
- handle: '@my_sqtest'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://sq:p_ssW0rd@localhost:3306/sqtest
- handle: '@my_sqtype'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://sq:p_ssW0rd@localhost:3306/sqtype
- handle: '@xl_header'
driver: xlsx
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/xlsx/testdata/test_header.xlsx
options:
2020-08-06 20:58:47 +03:00
header:
- "true"
- handle: '@xl_noheader'
driver: xlsx
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/xlsx/testdata/test_noheader.xlsx
- handle: '@xl_remote'
driver: xlsx
2020-08-06 20:58:47 +03:00
location: http://neilotoole.io/sq/test/test1.xlsx
- handle: '@csv_person_comma_header'
driver: csv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_header.csv
options:
2020-08-06 20:58:47 +03:00
header:
- "true"
- handle: '@csv_person_comma_noheader'
driver: csv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_noheader.csv
- handle: '@tsv_person_header'
driver: tsv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_header.tsv
- handle: '@tsv_person_noheader'
driver: tsv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_noheader.tsv
- handle: '@tsv_person_noheader_cols'
driver: tsv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_noheader.tsv
options:
2020-08-06 20:58:47 +03:00
cols:
- uid,username,email
- handle: '@rss_basic'
driver: rss
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/libsq/driver/userdriver/testdata/basic.rss.xml
- handle: '@nytimes'
driver: rss
2020-08-06 20:58:47 +03:00
location: http://www.nytimes.com/services/xml/rss/nyt/World.xml
- handle: '@myfriends'
driver: ppl
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/libsq/driver/userdriver/testdata/people.xml
- handle: '@peeps'
driver: ppl
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/libsq/driver/userdriver/testdata/people2.xml
- handle: '@ds_invalid_creds'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://root:badpass@localhost:3306/sqtest
- handle: '@ds_invalid_port'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://root:root@localhost:33661/sqtest
- handle: '@ds_invalid_host'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://root:root@news.google.com:80/sqtest
- handle: '@ds_invalid_db'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://sq:sq@localhost:3306/not_a_db
- handle: '@csvbig'
driver: csv
2020-08-06 20:58:47 +03:00
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_header_big.csv
options:
2020-08-06 20:58:47 +03:00
header:
- "true"
- handle: '@sl_sakila'
driver: sqlite3
2020-08-06 20:58:47 +03:00
location: sqlite3://${SQ_ROOT}/examples/sakila/sqlite-sakila-db/sakila.db
- handle: '@my_sakila'
driver: mysql
2020-08-06 20:58:47 +03:00
location: mysql://root:sakila@localhost:33067/sakila
- handle: '@pg_sakila'
driver: postgres
2020-08-06 20:58:47 +03:00
location: postgres://sq:p_ssW0rd@localhost:54321/sakila?sslmode=disable
notification:
enabled: []
destinations: []