|
@@ -62,7 +62,6 @@ public class ViewController extends Controller {
|
|
|
// TODO: handle exception
|
|
|
this.renderText(e.toString());
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -116,6 +115,12 @@ public class ViewController extends Controller {
|
|
|
renderText(dService.getCloudKey());
|
|
|
}
|
|
|
|
|
|
+ public void testConn4() {
|
|
|
+ DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
+ dService.updateCloudKey();
|
|
|
+ renderText(dService.getCloudKey());
|
|
|
+ }
|
|
|
+
|
|
|
public static DruidPlugin createConnectedDruidPlugin() {
|
|
|
|
|
|
return new DruidPlugin(PropKit.get("jdbcUrl_connected"), PropKit.get("user_connected"),PropKit.get("password_connected").trim());
|