GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #25 from uavorg/master · charooo/uavstack@e5efeb5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • README中文版.md
  • com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/nodeopagent/actions
    • MSCPGeneralAction.java
  • com.creditease.uav.base/src/main/java/com/creditease/agent
    • profile/api
      • StandardProfileModeler.java
    • spi
      • AbstractHttpServiceComponent.java
      • AbstractHttpServiceComponent2.java
  • com.creditease.uav.console.buildComponent/config
    • uavapp_baseclassmgt
      • config_pro.properties
      • eshead
        • app_pro.js
    • web_pro.xml
  • com.creditease.uav.console/src/main
    • java/com/creditease/uav/apphub/sso
      • GUISSOClientFactory.java
      • GUISSOSimpleClient.java
    • webapp
      • WEB-INF
        • web.xml
      • apphub/js/common
        • helper.js
      • uavapp_csc
        • config.properties
  • com.creditease.uav.helper/src/main/java/com/creditease/agent/helpers
    • StringHelper.java
  • com.creditease.uav.hook.httpclients/src/main/java/com/creditease/uav/hook/httpclients/sync/invokeChain
    • ApacheHttpClientAdapter.java
  • com.creditease.uav.loghook/src/main/java/com/creditease/uav/log/hook
    • Log4jHookProxy.java
  • com.creditease.uav.monitorframework.agent
    • pom.xml
    • src/main/java/com/creditease/uav/monitorframework/adaptors
      • AbstractAdaptor.java
      • SpringBootTomcatAdaptor.java
  • com.creditease.uav.monitorframework.apm/src/main/java/com/creditease/uav/apm
    • RewriteIvcOutputStream.java
    • RewriteIvcPrintWriter.java
    • RewriteIvcResponseWrapper.java
  • com.creditease.uav.monitorframework.buildComponent/config
    • uav.properties
  • com.creditease.uav.monitorframework.buildFat
    • .gitignore
    • findbugs.exclude.xml
    • lib
      • com.creditease.uav.monitorframework-1.0.jar
      • fast-scan.jar
    • pom.xml
    • src
      • main
        • java/com/creditease/monitorframework/fat
          • AppCustomMonitor.java
          • CXFClientE2ETest.java
          • DynamicServlet.java
          • DynamicServletInit.java
          • FastScanServlet.java
          • Log4j2Test.java
          • Log4jTest.java
          • MyTestIVCInjectClass.java
          • ServerRespTimeTest.java
          • TestClient.java
          • TestRestService.java
          • TestSpringApiController.java
          • TestSpringMVCService.java
          • appmonitor
            • MyAppMonitorCounterHandler.java
          • client
            • Echo.java
            • EchoFault.java
            • EchoFaultResponse.java
            • EchoResponse.java
            • ObjectFactory.java
            • TestService.java
            • TestService_Service.java
            • package-info.java
          • dbconnpool
            • DAOFactory.java
          • dubbo
            • IMyDubboService.java
            • MyDubboService.java
          • filters
            • DynamicFilter.java
            • TestFilter.java
          • invokechain
            • ChainService.java
            • ElasticsearchService.java
            • HttpService.java
            • InvokeChainTestService.java
            • JdbcService.java
            • MongoService.java
            • RedisService.java
            • SimpleService.java
            • SimpleServlet.java
            • WSService.java
          • ivc
            • MyTestInjectObj.java
          • listeners
            • TestListener.java
            • TestServletInitListener.java
          • log
            • Logger.java
            • LoggerFactory.java
          • mybatis
            • User.java
            • UserMapper.xml
            • mybatis-config.xml
          • queue
            • Consumer.java
            • KafkaTest.java
            • Msg.java
            • Producer.java
            • QueueTest.java
            • RabbitMQRecv.java
            • RabbitMQSend.java
          • service
            • ProfileService.java
            • ProfileServiceImpl.java
            • TestService.java
            • TestServiceServlet.java
          • struts
            • TestStruts2Action.java
            • TestStruts2ActionAnno.java
            • TestStruts2ActionAnno2.java
            • TestStruts2ActionAnno3.java
            • TestStruts2ActionAnno4.java
          • ttl
            • SimpleThread.java
            • SimpleThread2.java
            • Test.java
            • TtlService.java
        • webapp
          • WEB-INF
            • springMVC-servlet.xml
            • web.xml
            • wsdl
              • TestService.wsdl
          • test.html
      • resource/java
        • log4j.properties
        • log4j2.xml
        • struts-action.xml
        • struts-action2.xml
        • struts.xml
  • com.creditease.uav.monitorframework.springbootFat
    • .gitignore
    • pom.xml
    • src/main
      • java/com/creditease
        • monitorframework/fat
          • CXFClientE2ETest.java
          • Log4jTest.java
          • ServerRespTimeTest.java
          • TestClient.java
          • client
            • Echo.java
            • EchoFault.java
            • EchoFaultResponse.java
            • EchoResponse.java
            • ObjectFactory.java
            • TestService.java
            • TestService_Service.java
            • package-info.java
          • dubbo
            • IMyDubboService.java
            • MyDubboService.java
          • filters
            • TestFilter.java
          • listeners
            • TestListener.java
          • log
            • Logger.java
            • LoggerFactory.java
          • service
            • ProfileService.java
            • ProfileServiceImpl.java
            • TestService.java
            • TestServiceServlet.java
        • uav/monitorframework
          • restservice
            • RestResource.java
            • TestRestService.java
          • springbootFat
            • App.java
            • CxfConfig.java
            • FastScanServlet.java
            • JerseyConfig.java
            • MyController.java
            • MyServlet.java
            • TestSpringApiController.java
            • TestSpringMVCService.java
            • User.java
            • UserService.java
            • UserServiceImpl.java
            • log
              • Log4jTest.java
              • LogbackTest.java
      • resources
        • application.properties
        • config.xml
        • log4j.properties
  • com.creditease.uav.monitorframework/src/main/java/com/creditease/uav
    • profiling/handlers
      • ComponentProfileHandler.java
    • util
      • MonitorServerUtil.java
      • TransformWrapperUtil.java
  • com.creditease.uav.superpom
    • pom.xml

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

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 numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ uavstack is the All in One source repository of UAVStack.
3434
* com.creditease.uav.jetty.plus.core: JVM MonitorFramework extension for Jetty
3535
* com.creditease.uav.mock.sl4j: mock sl4j
3636
* 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)
3937
* com.creditease.uav.agent.buildComponent: build POM for MonitorAgent
4038
* com.creditease.uav.healthmanager.buildComponent: build POM for HealthManager
4139
* com.creditease.uav.monitorframework.buildComponent: build POM for JVM MonitorFramework
Collapse file

‎README中文版.md‎

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 numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ uavstack is the All in One source repository of UAVStack.
4848
* com.creditease.uav.jetty.plus.core 探针MOF对Jetty支持 (JVM MonitorFramework extension for Jetty)
4949
* com.creditease.uav.mock.sl4j 去除某些框架依赖sl4j (mock sl4j)
5050
* 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)
5351
* com.creditease.uav.agent.buildComponent 制作监控代理程序部署包 (Build POM for MonitorAgent)
5452
* com.creditease.uav.healthmanager.buildComponent 制作健康管理程序部署包 (Build POM for HealthManager)
5553
* com.creditease.uav.monitorframework.buildComponent 制作探针MOF部署包 (Build POM for JVM MonitorFramework)
Collapse file

‎com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/nodeopagent/actions/MSCPGeneralAction.java‎

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 numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ else if (profileName.contains("test")) {
306306
sbf.append(" && sh start_upgrade.sh ");
307307
}
308308

309-
sbf.append(upgrade_profile + " ").append(System.getProperty("NetCardIndex", "0")).append(" ");
309+
sbf.append(upgrade_profile + " ");
310310

311311
if (JVMToolHelper.isWindows()) {
312312
sbf.append(JSONHelper.toString(upgradeInfo).replace("\"", "'"));
Collapse file

‎com.creditease.uav.base/src/main/java/com/creditease/agent/profile/api/StandardProfileModeler.java‎

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 numberDiff line numberDiff line change
@@ -900,6 +900,12 @@ private void getSpringMVCURLs(String springMVCBaseUrl, Map<String, Set<String>>
900900
if (annoWebService != null) {
901901

902902
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+
}
903909
}
904910

905911
/**
@@ -968,6 +974,11 @@ private void getSpringMVCURLs(String springMVCBaseUrl, Map<String, Set<String>>
968974

969975
List<String> methodRelativePaths = (List<String>) pathAnnoInfo.get("value");
970976

977+
// try to get info from filed 'path'
978+
if (methodRelativePaths == null) {
979+
methodRelativePaths = (List<String>) pathAnnoInfo.get("path");
980+
}
981+
971982
// FIX NPE
972983
if (methodRelativePaths == null) {
973984
compServicesURLs.add(serviceURL);
Collapse file

‎com.creditease.uav.base/src/main/java/com/creditease/agent/spi/AbstractHttpServiceComponent.java‎

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 numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void start(Executor executor, int port, int backlog, boolean forceExit) {
181181
server = HttpServer.create(isa, backlog);
182182

183183
}
184-
catch (IOException e) {
184+
catch (Exception e) {
185185

186186
log.err(this, "HttpServiceComponent[" + this.cName + "] for feature[" + this.feature + "] starts FAIL.", e);
187187

Collapse file

‎com.creditease.uav.base/src/main/java/com/creditease/agent/spi/AbstractHttpServiceComponent2.java‎

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 numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public void start(int port, int backlog, int listenThreadCount, int handleThread
373373
+ "] started SUCCESS: port=" + this.port);
374374
}
375375
}
376-
catch (InterruptedException e) {
376+
catch (Exception e) {
377377
log.err(this, "HttpServiceComponent[" + this.cName + "] for feature[" + this.feature + "] starts FAIL.", e);
378378

379379
if (forceExit == true) {
Collapse file

‎com.creditease.uav.console.buildComponent/config/uavapp_baseclassmgt/config_pro.properties‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
app.title=基础集群管理
22
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"}
44
app.@dbhead={"index":"3","title":"OpenTSDB管理","file":"index.html"}
Collapse file

‎com.creditease.uav.console.buildComponent/config/uavapp_baseclassmgt/eshead/app_pro.js‎

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 numberDiff line numberDiff line change
@@ -4326,7 +4326,7 @@
43264326
init: function(parent) {
43274327
this._super();
43284328
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";
43304330
if( this.base_uri.charAt( this.base_uri.length - 1 ) !== "/" ) {
43314331
// XHR request fails if the URL is not ending with a "/"
43324332
this.base_uri += "/";
Collapse file

‎com.creditease.uav.console.buildComponent/config/web_pro.xml‎

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 numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
</context-param>
232232
<context-param>
233233
<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>
235235
</context-param>
236236
<context-param>
237237
<param-name>uav.apphub.sso.white.list</param-name>
Collapse file

‎com.creditease.uav.console/src/main/java/com/creditease/uav/apphub/sso/GUISSOClientFactory.java‎

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 numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private static GUISSOClient createGUISSOClient(HttpServletRequest request) {
4545
String ClientImplClassName = request.getServletContext().getInitParameter("uav.apphub.sso.implclass");
4646

4747
if (StringHelper.isEmpty(ClientImplClassName)) {
48-
ClientImplClassName = "com.creditease.uav.apphub.sso.GUISSOLdapClient";
48+
ClientImplClassName = "com.creditease.uav.apphub.sso.GUISSOSimpleClient";
4949
}
5050

5151
GUISSOClient GUISSOClientImpl = null;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.