GeezerVison is showing github.com — Merge pull request #25 from uavorg/master · windgoogle/uavstack@e5efeb5
File treeExpand file treeCollapse file tree Open diff view settings com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/nodeopagent/actions com.creditease.uav.base/src/main/java/com/creditease/agent com.creditease.uav.console.buildComponent/config com.creditease.uav.console/src/main java/com/creditease/uav/apphub/sso
com.creditease.uav.helper/src/main/java/com/creditease/agent/helpers com.creditease.uav.hook.httpclients/src/main/java/com/creditease/uav/hook/httpclients/sync/invokeChain com.creditease.uav.loghook/src/main/java/com/creditease/uav/log/hook com.creditease.uav.monitorframework.agent src/main/java/com/creditease/uav/monitorframework/adaptors
com.creditease.uav.monitorframework.apm/src/main/java/com/creditease/uav/apm com.creditease.uav.monitorframework.buildComponent/config com.creditease.uav.monitorframework.buildFat java/com/creditease/monitorframework/fat
com.creditease.uav.monitorframework.springbootFat com.creditease.uav.monitorframework/src/main/java/com/creditease/uav com.creditease.uav.superpom
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: README.md -2Lines changed: 0 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -34,8 +34,6 @@ uavstack is the All in One source repository of UAVStack. | 34 | 34 | * com.creditease.uav.jetty.plus.core: JVM MonitorFramework extension for Jetty | 35 | 35 | * com.creditease.uav.mock.sl4j: mock sl4j | 36 | 36 | * com.creditease.uav.ttl: com.alibaba.ttl source code introduction (Alibaba TTL) | 37 | | -* com.creditease.uav.monitorframework.buildFat: function test of JVM MonitorFramework) | 38 | | -* com.creditease.uav.monitorframework.springbootFat: function test of JVM MonitorFramework for Springboot) | 39 | 37 | * com.creditease.uav.agent.buildComponent: build POM for MonitorAgent | 40 | 38 | * com.creditease.uav.healthmanager.buildComponent: build POM for HealthManager | 41 | 39 | * com.creditease.uav.monitorframework.buildComponent: build POM for JVM MonitorFramework | |
Collapse file Copy file name to clipboardExpand all lines: README中文版.md -2Lines changed: 0 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -48,8 +48,6 @@ uavstack is the All in One source repository of UAVStack. | 48 | 48 | * com.creditease.uav.jetty.plus.core 探针MOF对Jetty支持 (JVM MonitorFramework extension for Jetty) | 49 | 49 | * com.creditease.uav.mock.sl4j 去除某些框架依赖sl4j (mock sl4j) | 50 | 50 | * com.creditease.uav.ttl com.alibaba.ttl源代码引入 (Alibaba TTL) | 51 | | -* com.creditease.uav.monitorframework.buildFat WAR测试程序 (Function Test of JVM MonitorFramework) | 52 | | -* com.creditease.uav.monitorframework.springbootFat SpringBoot测试程序 (Function Test of JVM MonitorFramework for springboot) | 53 | 51 | * com.creditease.uav.agent.buildComponent 制作监控代理程序部署包 (Build POM for MonitorAgent) | 54 | 52 | * com.creditease.uav.healthmanager.buildComponent 制作健康管理程序部署包 (Build POM for HealthManager) | 55 | 53 | * com.creditease.uav.monitorframework.buildComponent 制作探针MOF部署包 (Build POM for JVM MonitorFramework) | |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/nodeopagent/actions/MSCPGeneralAction.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -306,7 +306,7 @@ else if (profileName.contains("test")) { | 306 | 306 | sbf.append(" && sh start_upgrade.sh "); | 307 | 307 | } | 308 | 308 |
| 309 | | - sbf.append(upgrade_profile + " ").append(System.getProperty("NetCardIndex", "0")).append(" "); | | 309 | + sbf.append(upgrade_profile + " "); | 310 | 310 |
| 311 | 311 | if (JVMToolHelper.isWindows()) { | 312 | 312 | sbf.append(JSONHelper.toString(upgradeInfo).replace("\"", "'")); | |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.base/src/main/java/com/creditease/agent/profile/api/StandardProfileModeler.java +11Lines changed: 11 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -900,6 +900,12 @@ private void getSpringMVCURLs(String springMVCBaseUrl, Map<String, Set<String>> | 900 | 900 | if (annoWebService != null) { | 901 | 901 |
| 902 | 902 | resourceClassRelativePaths = (List<String>) annoWebService.get("value"); | | 903 | + /** | | 904 | + * NOTE: RequestMapping can setup a path by 'value' or 'path' | | 905 | + */ | | 906 | + if (resourceClassRelativePaths == null) { | | 907 | + resourceClassRelativePaths = (List<String>) annoWebService.get("path"); | | 908 | + } | 903 | 909 | } | 904 | 910 |
| 905 | 911 | /** | @@ -968,6 +974,11 @@ private void getSpringMVCURLs(String springMVCBaseUrl, Map<String, Set<String>> | 968 | 974 |
| 969 | 975 | List<String> methodRelativePaths = (List<String>) pathAnnoInfo.get("value"); | 970 | 976 |
| | 977 | + // try to get info from filed 'path' | | 978 | + if (methodRelativePaths == null) { | | 979 | + methodRelativePaths = (List<String>) pathAnnoInfo.get("path"); | | 980 | + } | | 981 | + | 971 | 982 | // FIX NPE | 972 | 983 | if (methodRelativePaths == null) { | 973 | 984 | compServicesURLs.add(serviceURL); | |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.base/src/main/java/com/creditease/agent/spi/AbstractHttpServiceComponent.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -181,7 +181,7 @@ public void start(Executor executor, int port, int backlog, boolean forceExit) { | 181 | 181 | server = HttpServer.create(isa, backlog); | 182 | 182 |
| 183 | 183 | } | 184 | | - catch (IOException e) { | | 184 | + catch (Exception e) { | 185 | 185 |
| 186 | 186 | log.err(this, "HttpServiceComponent[" + this.cName + "] for feature[" + this.feature + "] starts FAIL.", e); | 187 | 187 |
| |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.base/src/main/java/com/creditease/agent/spi/AbstractHttpServiceComponent2.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -373,7 +373,7 @@ public void start(int port, int backlog, int listenThreadCount, int handleThread | 373 | 373 | + "] started SUCCESS: port=" + this.port); | 374 | 374 | } | 375 | 375 | } | 376 | | - catch (InterruptedException e) { | | 376 | + catch (Exception e) { | 377 | 377 | log.err(this, "HttpServiceComponent[" + this.cName + "] for feature[" + this.feature + "] starts FAIL.", e); | 378 | 378 |
| 379 | 379 | if (forceExit == true) { | |
Collapse file Copy file name to clipboard +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | app.title=基础集群管理 | 2 | 2 | app.@eshead={"index":"1","title":"ES管理","file":"index.html"} | 3 | | -app.@jumpurl_1={"index":"2","title":"MQ管理","file":"jumpurl@http://uav.creditease.corp/rocket/cluster/list.do"} | | 3 | +app.@jumpurl_1={"index":"2","title":"MQ管理","file":"jumpurl@http://127.0.0.1:8080/rocket/cluster/list.do"} | 4 | 4 | app.@dbhead={"index":"3","title":"OpenTSDB管理","file":"index.html"} |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.console.buildComponent/config/uavapp_baseclassmgt/eshead/app_pro.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 4326 | 4326 | init: function(parent) { | 4327 | 4327 | this._super(); | 4328 | 4328 | this.prefs = services.Preferences.instance(); | 4329 | | - this.base_uri = this.config.base_uri || this.prefs.get("app-base_uri") || "http://uav.creditease.corp/apphub/es"; | | 4329 | + this.base_uri = this.config.base_uri || this.prefs.get("app-base_uri") || "http://127.0.0.1:8080/apphub/es"; | 4330 | 4330 | if( this.base_uri.charAt( this.base_uri.length - 1 ) !== "/" ) { | 4331 | 4331 | // XHR request fails if the URL is not ending with a "/" | 4332 | 4332 | this.base_uri += "/"; | |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.console.buildComponent/config/web_pro.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 231 | 231 | </context-param> | 232 | 232 | <context-param> | 233 | 233 | <param-name>uav.apphub.sso.grafana.connection.info</param-name> | 234 | | - <param-value>{"api.url":"http://127.0.0.1:3000","web.url":"http://uav.creditease.corp/datacenter","datasource.opentsdb.url":"http://127.0.0.1:4242","datasource.elasticsearch.url":"http://127.0.0.1:9300","authorization.loginId":"apiuser","authorization.loginPwd":"Uav!630admin","authorization.register.defPwd":"1q@W3e","authorization.register.sleep.time":"2000"}</param-value> | | 234 | + <param-value>{"api.url":"http://127.0.0.1:3000","web.url":"http://127.0.0.1:8080/datacenter","datasource.opentsdb.url":"http://127.0.0.1:4242","datasource.elasticsearch.url":"http://127.0.0.1:9300","authorization.loginId":"apiuser","authorization.loginPwd":"Uav!630admin","authorization.register.defPwd":"1q@W3e","authorization.register.sleep.time":"2000"}</param-value> | 235 | 235 | </context-param> | 236 | 236 | <context-param> | 237 | 237 | <param-name>uav.apphub.sso.white.list</param-name> | |
Collapse file Copy file name to clipboardExpand all lines: com.creditease.uav.console/src/main/java/com/creditease/uav/apphub/sso/GUISSOClientFactory.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -45,7 +45,7 @@ private static GUISSOClient createGUISSOClient(HttpServletRequest request) { | 45 | 45 | String ClientImplClassName = request.getServletContext().getInitParameter("uav.apphub.sso.implclass"); | 46 | 46 |
| 47 | 47 | if (StringHelper.isEmpty(ClientImplClassName)) { | 48 | | - ClientImplClassName = "com.creditease.uav.apphub.sso.GUISSOLdapClient"; | | 48 | + ClientImplClassName = "com.creditease.uav.apphub.sso.GUISSOSimpleClient"; | 49 | 49 | } | 50 | 50 |
| 51 | 51 | GUISSOClient GUISSOClientImpl = null; | |
|