pcp
[Top] [All Lists]

parfait updates: agent tests

To: PCP <pcp@xxxxxxxxxxx>
Subject: parfait updates: agent tests
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 14 Apr 2016 04:21:39 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1766125080.40152501.1460622098811.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: +ufWcShQu7eOXqrc79qdAkxezjZiaA==
Thread-topic: parfait updates: agent tests
Changes committed to git://git.pcp.io/nathans/parfait.git master

Nathan Scott (4):
      Shuffle forward to using current spring version (4.2.5)
      Begin using the spring-test framework in ParfaitAgent
      Split the agent spring configuration file into components
      Add parfait-agent testing for command line and property settings


 parfait-agent/pom.xml                                                          
       |    6 
 parfait-agent/src/main/java/com/custardsource/parfait/ParfaitAgent.java        
       |   21 
 parfait-agent/src/main/resources/agent.xml                                     
       |   76 +
 parfait-agent/src/main/resources/java.xml                                      
       |  566 ----------
 parfait-agent/src/main/resources/javabeans.xml                                 
       |  478 ++++++++
 parfait-agent/src/main/resources/units.xml                                     
       |   28 
 
parfait-agent/src/test/java/com/custardsource/parfait/ParfaitAgentPropertiesTest.java
 |   84 +
 
parfait-agent/src/test/java/com/custardsource/parfait/ParfaitAgentSpringTest.java
     |   27 
 parfait-agent/src/test/resources/test.properties                               
       |    3 
 parfait-agent/src/test/resources/test.xml                                      
       |   12 
 
parfait-cxf/src/test/java/com/custardsource/parfait/cxf/ParfaitIntegrationTest.java
   |   38 
 pom.xml                                                                        
       |    9 
 12 files changed, 757 insertions(+), 591 deletions(-)


commit 3a282003aa30522b7693a496d58ee4d922156e17
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 14 18:20:03 2016 +1000

    Add parfait-agent testing for command line and property settings

commit 9b33cb5d7a0fae5c84ddf75684752f164b5d669c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 14 17:28:12 2016 +1000

    Split the agent spring configuration file into components

commit 895634314a78c56ed8bca1faf7af179615573f13
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 14 16:03:04 2016 +1000

    Begin using the spring-test framework in ParfaitAgent
    
    This required a bump to the Junit version beyond 4.9 - went with
    current latest which is 4.12 for now.
    
    Agent test added which verifies that all the spring bean loading
    activity which -javaagent mode would invoke happens without any
    errors, and the DynamicMonitoringView is successfully created.
    
    The test uses a custom properties file for injecting the needed
    parfait-agent-specific properties, which meant augmenting the bean
    configuration with an additional file to load in custom properties
    - hence the @ContextConfiguration test class annotation lists both
    of those files.

commit ac6d15595c23225c45e222b2ad52c5156cd7bb62
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 14 15:56:18 2016 +1000

    Shuffle forward to using current spring version (4.2.5)
    
    We need a newer Spring for incoming parfait-agent Spring testing.
    Updates needed to one of the CXF tests, where the new version was
    seeing a FileNotFound exception - traced back to use of port 9080
    for the test-created http server, which generates an exception if
    one reads from the output stream rather than error stream.

<Prev in Thread] Current Thread [Next in Thread>
  • parfait updates: agent tests, Nathan Scott <=