1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Test data update (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-06-18 21:13:41 +03:00
parent d8378d3105
commit 4b98497c12
757 changed files with 1206 additions and 874 deletions

View File

@@ -2,7 +2,7 @@
oint mysql AddRecords \
--table "testtable" \
--rows "[{'char_field':{'TEXT':'AAAAA'},'varchar_field':{'TEXT':'Some varchar'},'tinytext_field':{'TEXT':'Some tiny text'},'text_field':{'TEXT':'Some text'},'mediumtext_field':{'TEXT':'Some medium text'},'longtext_field':{'TEXT':'Some looooooong text'},'tinyint_field':{'INT':127},'smallint_field':{'INT':-32767},'mediumint_field':{'INT':8388607},'int_field':{'INT':-2147483647},'uint_field':{'UINT':4294967295},'bigint_field':{'INT':9223372036854775807},'float_field':{'FLOAT':100.50},'double_field':{'FLOAT':100.512123},'date_field':{'DATE':'2025-06-04T21:58:22.4441199Z'},'time_field':{'TIME':'2025-06-04T21:58:22.4441199Z'},'datetime_field':{'DATE':'2025-06-04T21:58:22.4441199Z'},'timestamp_field':{'DATE':'2025-06-04T21:58:22.4441199Z'},'mediumblob_field':{'BYTES':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg'},'set_field':{'TEXT':'one'}}]" \
--rows "[{'char_field':{'TEXT':'AAAAA'},'varchar_field':{'TEXT':'Some varchar'},'tinytext_field':{'TEXT':'Some tiny text'},'text_field':{'TEXT':'Some text'},'mediumtext_field':{'TEXT':'Some medium text'},'longtext_field':{'TEXT':'Some looooooong text'},'tinyint_field':{'INT':127},'smallint_field':{'INT':-32767},'mediumint_field':{'INT':8388607},'int_field':{'INT':-2147483647},'uint_field':{'UINT':4294967295},'bigint_field':{'INT':9223372036854775807},'float_field':{'FLOAT':100.50},'double_field':{'FLOAT':100.512123},'date_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'time_field':{'TIME':'2025-06-18T20:16:20.6233178Z'},'datetime_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'timestamp_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'mediumblob_field':{'BYTES':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg'},'set_field':{'TEXT':'one'}}]" \
--trn true \
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -2,7 +2,7 @@
oint mysql AddRecords ^
--table "testtable" ^
--rows "[{'char_field':{'TEXT':'AAAAA'},'varchar_field':{'TEXT':'Some varchar'},'tinytext_field':{'TEXT':'Some tiny text'},'text_field':{'TEXT':'Some text'},'mediumtext_field':{'TEXT':'Some medium text'},'longtext_field':{'TEXT':'Some looooooong text'},'tinyint_field':{'INT':127},'smallint_field':{'INT':-32767},'mediumint_field':{'INT':8388607},'int_field':{'INT':-2147483647},'uint_field':{'UINT':4294967295},'bigint_field':{'INT':9223372036854775807},'float_field':{'FLOAT':100.50},'double_field':{'FLOAT':100.512123},'date_field':{'DATE':'2025-06-04T21:58:22.4441199Z'},'time_field':{'TIME':'2025-06-04T21:58:22.4441199Z'},'datetime_field':{'DATE':'2025-06-04T21:58:22.4441199Z'},'timestamp_field':{'DATE':'2025-06-04T21:58:22.4441199Z'},'mediumblob_field':{'BYTES':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg'},'set_field':{'TEXT':'one'}}]" ^
--rows "[{'char_field':{'TEXT':'AAAAA'},'varchar_field':{'TEXT':'Some varchar'},'tinytext_field':{'TEXT':'Some tiny text'},'text_field':{'TEXT':'Some text'},'mediumtext_field':{'TEXT':'Some medium text'},'longtext_field':{'TEXT':'Some looooooong text'},'tinyint_field':{'INT':127},'smallint_field':{'INT':-32767},'mediumint_field':{'INT':8388607},'int_field':{'INT':-2147483647},'uint_field':{'UINT':4294967295},'bigint_field':{'INT':9223372036854775807},'float_field':{'FLOAT':100.50},'double_field':{'FLOAT':100.512123},'date_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'time_field':{'TIME':'2025-06-18T20:16:20.6233178Z'},'datetime_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'timestamp_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'mediumblob_field':{'BYTES':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg'},'set_field':{'TEXT':'one'}}]" ^
--trn true ^
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" ^
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -0,0 +1,8 @@
# JSON data can also be passed as a path to a .json file
oint mysql AddTableColumn \
--table "testtable" \
--name "new_field" \
--type "MEDIUMTEXT" \
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -0,0 +1,8 @@
:: JSON data can also be passed as a path to a .json file
oint mysql AddTableColumn ^
--table "testtable" ^
--name "new_field" ^
--type "MEDIUMTEXT" ^
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" ^
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -0,0 +1,7 @@
# JSON data can also be passed as a path to a .json file
oint mysql DeleteTableColumn \
--table "testtable" \
--name "new_field" \
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -0,0 +1,7 @@
:: JSON data can also be passed as a path to a .json file
oint mysql DeleteTableColumn ^
--table "testtable" ^
--name "new_field" ^
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" ^
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -0,0 +1,7 @@
# JSON data can also be passed as a path to a .json file
oint mysql EnsureTable \
--table "testtable" \
--cols "{'smallint_field':'SMALLINT','double_field':'DOUBLE','bigint_field':'BIGINT','custom_field':'TEXT'}" \
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
--tls "{'use_tls':true,'accept_invalid_certs':true}"

7
docs/en/cli/mysql/EnsureTable/bat.txt vendored Normal file
View File

@@ -0,0 +1,7 @@
:: JSON data can also be passed as a path to a .json file
oint mysql EnsureTable ^
--table "testtable" ^
--cols "{'smallint_field':'SMALLINT','double_field':'DOUBLE','bigint_field':'BIGINT','custom_field':'TEXT'}" ^
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" ^
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -1,3 +1,6 @@
# JSON data can also be passed as a path to a .json file
oint mysql GetTableInformation \
--table "heyho" \
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/"
--table "testtable" \
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -1,3 +1,6 @@
:: JSON data can also be passed as a path to a .json file
oint mysql GetTableInformation ^
--table "heyho" ^
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/"
--table "testtable" ^
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" ^
--tls "{'use_tls':true,'accept_invalid_certs':true}"

View File

@@ -0,0 +1,2 @@
oint mysql GetTlsSettings \
--trust true

View File

@@ -0,0 +1,2 @@
oint mysql GetTlsSettings ^
--trust true