| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- /**
- * This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin.
- * If there are any issues during the use process, you can provide feedback to the kingdee developer community website.
- * Website: https://developer.kingdee.com/developer?productLineId=29
- * Author: liebin.zheng
- * Generate Date: 2024-06-20 15:37:53
- */
- package q1k2.cosmic.debug;
- import kd.cosmic.debug.tools.CosmicLauncher;
- /**
- * 启动本地应用程序(微服务节点)
- */
- public class DebugApplication {
- public static void main(String[] args) {
- // Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader()));
- CosmicLauncher cosmic = new CosmicLauncher(false);
- cosmic.setClusterNumber("cosmic");
- cosmic.setTenantNumber("ierp");
- // cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx");
- cosmic.setConfigUrl("192.168.1.250:2181?user=zookeeper&password=zookeeper");
- //cosmic.setConfigUrl("47.92.104.23:7181?user=zookeeper&password=zookeeper");
- cosmic.setMcServerUrl("http://192.168.1.250:8090/");
- //cosmic.setMcServerUrl("http://47.92.104.23:7090/");
- //cosmic.setFsServerUrl("192.168.1.250", 8100);
- //cosmic.setImageServerUrl("192.168.1.250", 8100);
- //cosmic.setStartWithQing(false);
- //cosmic.setDubboHostConfig("192.168.1.250", 28888, 30880);
- //cosmic.setEnableLightWeightDeploy(true);
- //cosmic.setDubboConfig(false, true, true);
- cosmic.setMqConsumerRegister(true, CosmicLauncher.localHostName);
- cosmic.setWebResPath("C:/cangqiong/qy/static-file-service");
- // cosmic.setFsServerUrl("127.0.0.1", 8100);
- // cosmic.setImageServerUrl("127.0.0.1", 8100);
- //自定义本地苍穹调试服务的端口
- cosmic.setSqlOut(true,true);
- cosmic.setCosmicWepPort(8881);
- // cosmic.setDubboConfig(false, true, true);
- cosmic.start();
- }
- }
|