1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-07-15 01:34:30 +02:00

Test data update (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-02-16 20:55:36 +03:00
parent 6d466cb840
commit 464e967633
683 changed files with 934 additions and 816 deletions

View File

@ -0,0 +1,3 @@
oint postgres ВыполнитьЗапросSQL \
--sql "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/TEST_DATA.sql" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,3 @@
oint postgres ВыполнитьЗапросSQL ^
--sql "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/TEST_DATA.sql" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,5 @@
oint postgres ДобавитьЗаписи \
--table "testtable" \
--rows "[{'bool_field':{'BOOL':true},'oldchar_field':{'OLDCHAR':1},'smallint_field':{'SMALLINT':5},'smallserial_field':{'SMALLSERIAL':6},'int_field':{'INT':100},'serial_field':{'SERIAL':100},'oid_field':{'OID':24576},'bigint_field':{'BIGINT':9999999},'bigserial_field':{'BIGSERIAL':9999999},'real_field':{'REAL':15.2},'dp_field':{'DOUBLE_PRECISION':1.0002},'text_field':{'TEXT':'Some text'},'varchar_field':{'VARCHAR':'Some varchar'},'charn_field':{'CHAR':'AAA'},'char_field':{'CHAR':'A'},'name_field':{'NAME':'Vitaly'},'bytea_field':{'BYTEA':'C:\\Users\\Administrator\\AppData\\Local\\Temp\\4045n3qm41b.tmp'},'ts_field':{'TIMESTAMP':'2025-02-16T20:07:20.5357582Z'},'tswtz_field':{'TIMESTAMP_WITH_TIME_ZONE':'2025-02-16T20:07:20.5357582+05:00'},'ip_field':{'INET':'127.0.0.1'},'json_field':{'JSON':{'key':'***','value':10}},'jsonb_field':{'JSONB':{'key':'***','value':10}},'date_field':{'DATE':'2025-02-16T20:07:20.5357582Z'},'time_field':{'TIME':'2025-02-16T20:07:20.5357582Z'},'uuid_field':{'UUID':'e85b0749-48d6-4005-aff4-a304156eb39f'}}]" \
--trn true \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,5 @@
oint postgres ДобавитьЗаписи ^
--table "testtable" ^
--rows "[{'bool_field':{'BOOL':true},'oldchar_field':{'OLDCHAR':1},'smallint_field':{'SMALLINT':5},'smallserial_field':{'SMALLSERIAL':6},'int_field':{'INT':100},'serial_field':{'SERIAL':100},'oid_field':{'OID':24576},'bigint_field':{'BIGINT':9999999},'bigserial_field':{'BIGSERIAL':9999999},'real_field':{'REAL':15.2},'dp_field':{'DOUBLE_PRECISION':1.0002},'text_field':{'TEXT':'Some text'},'varchar_field':{'VARCHAR':'Some varchar'},'charn_field':{'CHAR':'AAA'},'char_field':{'CHAR':'A'},'name_field':{'NAME':'Vitaly'},'bytea_field':{'BYTEA':'C:\\Users\\Administrator\\AppData\\Local\\Temp\\4045n3qm41b.tmp'},'ts_field':{'TIMESTAMP':'2025-02-16T20:07:20.5357582Z'},'tswtz_field':{'TIMESTAMP_WITH_TIME_ZONE':'2025-02-16T20:07:20.5357582+05:00'},'ip_field':{'INET':'127.0.0.1'},'json_field':{'JSON':{'key':'***','value':10}},'jsonb_field':{'JSONB':{'key':'***','value':10}},'date_field':{'DATE':'2025-02-16T20:07:20.5357582Z'},'time_field':{'TIME':'2025-02-16T20:07:20.5357582Z'},'uuid_field':{'UUID':'e85b0749-48d6-4005-aff4-a304156eb39f'}}]" ^
--trn true ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,7 @@
# JSON данные также могут быть переданы как путь к файлу .json
oint postgres ОбновитьЗаписи \
--table "test_data" \
--values "{'ip_address':{'VARCHAR':'127.0.0.1'}}" \
--filter "[{'field':'gender','type':'=','value':{'VARCHAR':'Male'},'raw':false}]" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,7 @@
:: JSON данные также могут быть переданы как путь к файлу .json
oint postgres ОбновитьЗаписи ^
--table "test_data" ^
--values "{'ip_address':{'VARCHAR':'127.0.0.1'}}" ^
--filter "[{'field':'gender','type':'=','value':{'VARCHAR':'Male'},'raw':false}]" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,3 @@
oint postgres ОтключитьВсеСоединенияБазыДанных \
--base "testbase1" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,3 @@
oint postgres ОтключитьВсеСоединенияБазыДанных ^
--base "testbase1" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,3 @@
oint postgres ОчиститьТаблицу \
--table "testtable" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,3 @@
oint postgres ОчиститьТаблицу ^
--table "testtable" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,9 @@
# JSON данные также могут быть переданы как путь к файлу .json
oint postgres ПолучитьЗаписи \
--table "test_data" \
--fields "['first_name','last_name','email']" \
--filter "[{'field':'gender','type':'=','value':'Male','union':'AND','raw':false},{'field':'id','type':'BETWEEN','value':'20 AND 50','raw':true}]" \
--order "{'ip_address':'DESC'}" \
--limit 5 \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,9 @@
:: JSON данные также могут быть переданы как путь к файлу .json
oint postgres ПолучитьЗаписи ^
--table "test_data" ^
--fields "['first_name','last_name','email']" ^
--filter "[{'field':'gender','type':'=','value':'Male','union':'AND','raw':false},{'field':'id','type':'BETWEEN','value':'20 AND 50','raw':true}]" ^
--order "{'ip_address':'DESC'}" ^
--limit 5 ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,3 @@
oint postgres ПолучитьИнформациюОТаблице \
--table "heyho" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,3 @@
oint postgres ПолучитьИнформациюОТаблице ^
--table "heyho" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,2 @@
oint postgres ПолучитьСтруктуруФильтраЗаписей \
--empty true

View File

@ -0,0 +1,2 @@
oint postgres ПолучитьСтруктуруФильтраЗаписей ^
--empty true

View File

@ -0,0 +1,3 @@
oint postgres СоздатьБазуДанных \
--base "testbase1" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/postgres"

View File

@ -0,0 +1,3 @@
oint postgres СоздатьБазуДанных ^
--base "testbase1" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/postgres"

View File

@ -0,0 +1,6 @@
# JSON данные также могут быть переданы как путь к файлу .json
oint postgres СоздатьТаблицу \
--table "testtable" \
--cols "{'bool_field':'BOOL','oldchar_field':'\"char\"','smallint_field':'SMALLINT','smallserial_field':'SMALLSERIAL','int_field':'INT','serial_field':'SERIAL','oid_field':'OID','bigint_field':'BIGINT','bigserial_field':'BIGSERIAL','real_field':'REAL','dp_field':'DOUBLE PRECISION','text_field':'TEXT','varchar_field':'VARCHAR','charn_field':'CHAR(3)','char_field':'CHAR','name_field':'NAME','bytea_field':'BYTEA','ts_field':'TIMESTAMP','tswtz_field':'TIMESTAMP WITH TIME ZONE','ip_field':'INET','json_field':'JSON','jsonb_field':'JSONB','date_field':'DATE','time_field':'TIME','uuid_field':'UUID'}" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,6 @@
:: JSON данные также могут быть переданы как путь к файлу .json
oint postgres СоздатьТаблицу ^
--table "testtable" ^
--cols "{'bool_field':'BOOL','oldchar_field':'\"char\"','smallint_field':'SMALLINT','smallserial_field':'SMALLSERIAL','int_field':'INT','serial_field':'SERIAL','oid_field':'OID','bigint_field':'BIGINT','bigserial_field':'BIGSERIAL','real_field':'REAL','dp_field':'DOUBLE PRECISION','text_field':'TEXT','varchar_field':'VARCHAR','charn_field':'CHAR(3)','char_field':'CHAR','name_field':'NAME','bytea_field':'BYTEA','ts_field':'TIMESTAMP','tswtz_field':'TIMESTAMP WITH TIME ZONE','ip_field':'INET','json_field':'JSON','jsonb_field':'JSONB','date_field':'DATE','time_field':'TIME','uuid_field':'UUID'}" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,5 @@
oint postgres СформироватьСтрокуПодключения \
--addr "93.125.42.204" \
--db "postgres" \
--login "bayselonarrend" \
--pass "***"

View File

@ -0,0 +1,5 @@
oint postgres СформироватьСтрокуПодключения ^
--addr "93.125.42.204" ^
--db "postgres" ^
--login "bayselonarrend" ^
--pass "***"

View File

@ -0,0 +1,3 @@
oint postgres УдалитьБазуДанных \
--base "testbase1" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/postgres"

View File

@ -0,0 +1,3 @@
oint postgres УдалитьБазуДанных ^
--base "testbase1" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/postgres"

View File

@ -0,0 +1,4 @@
oint postgres УдалитьЗаписи \
--table "test_data" \
--filter "[{'field':'gender','type':'=','value':{'VARCHAR':'Male'},'raw':false,'union':'AND'}]" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,4 @@
oint postgres УдалитьЗаписи ^
--table "test_data" ^
--filter "[{'field':'gender','type':'=','value':{'VARCHAR':'Male'},'raw':false,'union':'AND'}]" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/test_data"

View File

@ -0,0 +1,3 @@
oint postgres УдалитьТаблицу \
--table "testtable" \
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"

View File

@ -0,0 +1,3 @@
oint postgres УдалитьТаблицу ^
--table "testtable" ^
--dbc "postgresql://bayselonarrend:12we3456!2154@93.125.42.204:5432/testbase1"