diff --git a/Application.cfc b/Application.cfc index 4c0c351..5199c3f 100644 --- a/Application.cfc +++ b/Application.cfc @@ -74,9 +74,34 @@ - + + + + + + + + + + + + + + + ---> + + + + + + + - + @@ -286,6 +311,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + select 1; + + + + + + + + + + + \ No newline at end of file diff --git a/contragent.cfm b/contragent.cfm index 0ed27f9..f6b085f 100644 --- a/contragent.cfm +++ b/contragent.cfm @@ -171,5 +171,6 @@ ---> + \ No newline at end of file diff --git a/etc/db/env.json b/etc/db/env.json new file mode 100644 index 0000000..2bfca9c --- /dev/null +++ b/etc/db/env.json @@ -0,0 +1,19 @@ +{ + "ds_dwh_class": "org.postgresql.Driver", + "ds_dwh_connectionString": "jdbc:postgresql://db-services.adl.nubes.ru:5432/dwh", + "ds_dwh_username": "smishchuk", + "ds_dwh_password": "encrypted:*******", + "ds_dwh_connectionLimit": "5", + + "ds_billing_s3_class": "org.postgresql.Driver", + "ds_billing_s3_connectionString": "jdbc:postgresql://db-services.adl.nubes.ru:5432/billing", + "ds_billing_s3_username": "s3billing", + "ds_billing_s3_password": "encrypted:*******", + "ds_billing_s3_connectionLimit": "5", + + "ds_billing_vc_class": "org.postgresql.Driver", + "ds_billing_vc_connectionString": "jdbc:postgresql://db-services.adl.nubes.ru:5432/billing", + "ds_billing_vc_username": "vc_billing", + "ds_billing_vc_password": "encrypted:*******", + "ds_billing_vc_connectionLimit": "5" +} diff --git a/etc/db/set_env.cmd b/etc/db/set_env.cmd new file mode 100644 index 0000000..24530bf --- /dev/null +++ b/etc/db/set_env.cmd @@ -0,0 +1,20 @@ +REM set Windows env +setx ds_dwh_class org.postgresql.Driver /M +setx ds_dwh_connectionString jdbc:postgresql://db-services.adl.nubes.ru:5432/dwh /M +setx ds_dwh_username smishchuk /M +setx ds_dwh_password encrypted:******* /M +setx ds_dwh_connectionLimit 5 /M + +setx ds_billing_s3_class org.postgresql.Driver /M +setx ds_billing_s3_connectionString jdbc:postgresql://db-services.adl.nubes.ru:5432/billing /M +setx ds_billing_s3_username s3billing /M +setx ds_billing_s3_password encrypted::******* /M +setx ds_billing_s3_connectionLimit 5 /M + +setx ds_billing_vc_class org.postgresql.Driver /M +setx ds_billing_vc_connectionString jdbc:postgresql://db-services.adl.nubes.ru:5432/billing /M +setx ds_billing_vc_username vc_billing /M +setx ds_billing_vc_password encrypted::******* /M +setx ds_billing_vc_connectionLimit 5 /M + +pause diff --git a/testds.cfm b/testds.cfm new file mode 100644 index 0000000..d34a03a --- /dev/null +++ b/testds.cfm @@ -0,0 +1,43 @@ + + + + + + + + #cfcatch# + + + + + + select 1; + + + + + #cfcatch# + + + + + + select 1; + + + + + #cfcatch# + + + + + + select 1; + + + + + #cfcatch# + + \ No newline at end of file