get fito
This commit is contained in:
@ -10,9 +10,9 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: org-ccalm-main
|
name: org-ccalm-main
|
||||||
datasource:
|
datasource:
|
||||||
#url: jdbc:postgresql://almaty.ccalm.org:5432/CCALM?ApplicationName=org_ccalm_main&ssl=true&sslmode=require&connectTimeout=10000&socketTimeout=10000
|
url: jdbc:postgresql://almaty.ccalm.org:5432/CCALM?ApplicationName=org_ccalm_main&ssl=true&sslmode=require&connectTimeout=10000&socketTimeout=10000
|
||||||
#url: jdbc:postgresql://ccalm.org:5432/CCALM?ApplicationName=org_ccalm_main&ssl=true&sslmode=require&connectTimeout=10000&socketTimeout=10000
|
#url: jdbc:postgresql://ccalm.org:5432/CCALM?ApplicationName=org_ccalm_main&ssl=true&sslmode=require&connectTimeout=10000&socketTimeout=10000
|
||||||
url: jdbc:postgresql://127.0.0.1:5432/CCALM?ApplicationName=org_ccalm_main&ssl=true&sslmode=require&connectTimeout=10000&socketTimeout=10000
|
#url: jdbc:postgresql://127.0.0.1:5432/CCALM?ApplicationName=org_ccalm_main&ssl=true&sslmode=require&connectTimeout=10000&socketTimeout=10000
|
||||||
username: postgres
|
username: postgres
|
||||||
password: 309A86FF65A78FB428F4E38DFE35F730
|
password: 309A86FF65A78FB428F4E38DFE35F730
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
|
|||||||
@ -150,7 +150,8 @@ public class AcceptJSON implements ServletContextAware {
|
|||||||
StringBuilder sb = new StringBuilder(1024);
|
StringBuilder sb = new StringBuilder(1024);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
String strURL="http://91.185.13.233:98/get_fito";
|
//String strURL="http://91.185.13.233:98/get_fito";
|
||||||
|
String strURL="http://95.56.225.145:98/get_fito";
|
||||||
URL url = new URL(strURL);
|
URL url = new URL(strURL);
|
||||||
HttpURLConnection hConn = (HttpURLConnection) url.openConnection();
|
HttpURLConnection hConn = (HttpURLConnection) url.openConnection();
|
||||||
hConn.setRequestMethod("GET");
|
hConn.setRequestMethod("GET");
|
||||||
|
|||||||
Reference in New Issue
Block a user