sethl3 | 2 Nov 2009 20:27
Picon

SF.net SVN: opennms:[15152] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/main/java/org/opennms/server/ListAppender.java

Revision: 15152
          http://opennms.svn.sourceforge.net/opennms/?rev=15152&view=rev
Author:   sethl3
Date:     2009-11-02 19:27:23 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Changed date formatting to emulate date/time format from
log4j.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/ListAppender.java

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/ListAppender.java
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/ListAppender.java	2009-10-31
18:44:15 UTC (rev 15151)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/ListAppender.java	2009-11-02
19:27:23 UTC (rev 15152)
 <at>  <at>  -2,6 +2,7  <at>  <at> 

 import java.sql.Time;
 import java.text.DateFormat;
+import java.text.SimpleDateFormat;
 import java.util.*;

 import org.apache.log4j.Appender;
(Continue reading)

sethl3 | 2 Nov 2009 20:43
Picon

SF.net SVN: opennms:[15153] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/pom.xml

Revision: 15153
          http://opennms.svn.sourceforge.net/opennms/?rev=15153&view=rev
Author:   sethl3
Date:     2009-11-02 19:43:26 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Changed POM to use test-classes directory as opennms-home when
running tests or Jetty tasks.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml	2009-11-02
19:27:23 UTC (rev 15152)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml	2009-11-02
19:43:26 UTC (rev 15153)
 <at>  <at>  -16,6 +16,12  <at>  <at> 
         <configuration>
           <stopPort>8081</stopPort>
           <stopKey>stopme</stopKey>
+          <systemProperties>
+            <systemProperty>
+              <name>opennms.home</name>
+              <value>${project.build.testOutputDirectory}</value>
(Continue reading)

thedesloge | 2 Nov 2009 20:53
Picon

SF.net SVN: opennms:[15154] opennms/branches/feature-link-monitoring/ integrations/opennms-link-provisioning-adapter/src/test/java/org/opennms/ netmgt/provision/adapters/link/LinkMonitoringSnmpTest.java

Revision: 15154
          http://opennms.svn.sourceforge.net/opennms/?rev=15154&view=rev
Author:   thedesloge
Date:     2009-11-02 19:53:44 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
removed un needed line from LinkMonitorSnmpTest

Modified Paths:
--------------
    opennms/branches/feature-link-monitoring/integrations/opennms-link-provisioning-adapter/src/test/java/org/opennms/netmgt/provision/adapters/link/LinkMonitoringSnmpTest.java

Modified: opennms/branches/feature-link-monitoring/integrations/opennms-link-provisioning-adapter/src/test/java/org/opennms/netmgt/provision/adapters/link/LinkMonitoringSnmpTest.java
===================================================================
---
opennms/branches/feature-link-monitoring/integrations/opennms-link-provisioning-adapter/src/test/java/org/opennms/netmgt/provision/adapters/link/LinkMonitoringSnmpTest.java	2009-11-02
19:43:26 UTC (rev 15153)
+++
opennms/branches/feature-link-monitoring/integrations/opennms-link-provisioning-adapter/src/test/java/org/opennms/netmgt/provision/adapters/link/LinkMonitoringSnmpTest.java	2009-11-02
19:53:44 UTC (rev 15154)
 <at>  <at>  -297,6 +297,7  <at>  <at> 

         m_configDao.getValidator().validate(endPoint);
     }
+   

     public void setMockSnmpAgent(MockSnmpAgent agent) {
         m_snmpAgent = agent;

(Continue reading)

sethl3 | 2 Nov 2009 21:03
Picon

SF.net SVN: opennms:[15155] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/test

Revision: 15155
          http://opennms.svn.sourceforge.net/opennms/?rev=15155&view=rev
Author:   sethl3
Date:     2009-11-02 20:03:01 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Added sample configuration file that can be used when running
the webapp in embedded Jetty mode, good for integration testing!

Added Paths:
-----------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/test/resources/
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/test/resources/etc/
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/test/resources/etc/opennms-datasources.xml

Copied:
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/test/resources/etc/opennms-datasources.xml
(from rev 15152, opennms/branches/feature-opennms-webapp-install/opennms-daemon/src/main/filtered/etc/opennms-datasources.xml)
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/test/resources/etc/opennms-datasources.xml	
                       (rev 0)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/test/resources/etc/opennms-datasources.xml	2009-11-02
20:03:01 UTC (rev 15155)
 <at>  <at>  -0,0 +1,19  <at>  <at> 
+<?xml version="1.0" encoding="UTF-8"?>
+<datasource-configuration
xmlns:this="http://xmlns.opennms.org/xsd/config/opennms-datasources" 
(Continue reading)

sethl3 | 2 Nov 2009 21:24
Picon

SF.net SVN: opennms:[15156] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/main

Revision: 15156
          http://opennms.svn.sourceforge.net/opennms/?rev=15156&view=rev
Author:   sethl3
Date:     2009-11-02 20:24:25 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Fixed loading of database parameters out of opennms-datasources.xml.
Fixed validation of empty database passwords. Added Events.Change
event firing when we update ExtJS fields in code to trigger change
event handlers. Added parsing of database hostname and port from
stored URL values. Started using El.fadeIn()/fadeOut() functions on
progress panel to make it appear and disappear for less jarring
look-and-feel. Changed log panel to use <p> tags for log entries.
Added CSS class for "indeterminate" progress state.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/public/Application.css
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java

Added Paths:
-----------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/webapp/images/circle.png

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java	2009-11-02
(Continue reading)

sethl3 | 2 Nov 2009 21:47
Picon

SF.net SVN: opennms:[15157] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/pom.xml

Revision: 15157
          http://opennms.svn.sourceforge.net/opennms/?rev=15157&view=rev
Author:   sethl3
Date:     2009-11-02 20:47:36 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Added install.dir property so that Installer can find the
home directory when in embedded Jetty mode.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml	2009-11-02
20:24:25 UTC (rev 15156)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/pom.xml	2009-11-02
20:47:36 UTC (rev 15157)
 <at>  <at>  -21,6 +21,10  <at>  <at> 
               <name>opennms.home</name>
               <value>${project.build.testOutputDirectory}</value>
             </systemProperty>
+            <systemProperty>
+              <name>install.dir</name>
+              <value>${project.build.testOutputDirectory}</value>
+            </systemProperty>
(Continue reading)

sethl3 | 2 Nov 2009 22:05
Picon

SF.net SVN: opennms:[15158] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/main/java/org/opennms/client/Application.java

Revision: 15158
          http://opennms.svn.sourceforge.net/opennms/?rev=15158&view=rev
Author:   sethl3
Date:     2009-11-02 21:05:34 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Added proper fadeOut() of progress panel when errors occur.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java	2009-11-02
20:47:36 UTC (rev 15157)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java	2009-11-02
21:05:34 UTC (rev 15158)
 <at>  <at>  -971,8 +971,6  <at>  <at> 
                                                                                 checkStoredProcedures.expand();
                                                                                 // Hide any collected progress items
                                                                                 progressFields.el().fadeOut(new FxConfig(300));
-                                                                                // Clear all of the bullet items from the panel
-                                                                                //dbProgressPanel.clear();
                                                                             }
                                                                         });
                                                                     } else {
(Continue reading)

sethl3 | 2 Nov 2009 22:54
Picon

SF.net SVN: opennms:[15159] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/main/java/org/opennms

Revision: 15159
          http://opennms.svn.sourceforge.net/opennms/?rev=15159&view=rev
Author:   sethl3
Date:     2009-11-02 21:54:45 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Added extra throws clauses for OwnershipNotConfirmedException so
that throwing this exception will trigger the onFailure() handlers.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/InstallService.java
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java	2009-11-02
21:05:34 UTC (rev 15158)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/Application.java	2009-11-02
21:54:45 UTC (rev 15159)
 <at>  <at>  -111,9 +111,9  <at>  <at> 
                         verifyOwnership.setIconStyle("check-failure-icon");
                         MessageBox.alert("Failure", "The ownership file does not exist. Please create the ownership file in the
OpenNMS home directory to prove ownership of this installation.", new Listener<MessageBoxEvent>() {
                             public void handleEvent(MessageBoxEvent event) {
+                                verifyOwnership.expand();
(Continue reading)

sethl3 | 2 Nov 2009 23:09
Picon

SF.net SVN: opennms:[15160] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/main/java/org/opennms

Revision: 15160
          http://opennms.svn.sourceforge.net/opennms/?rev=15160&view=rev
Author:   sethl3
Date:     2009-11-02 22:09:37 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Changed custom exceptions to checked exceptions.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/DatabaseDoesNotExistException.java
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/InstallService.java
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/OwnershipNotConfirmedException.java
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/DatabaseDoesNotExistException.java
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/DatabaseDoesNotExistException.java	2009-11-02
21:54:45 UTC (rev 15159)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/client/DatabaseDoesNotExistException.java	2009-11-02
22:09:37 UTC (rev 15160)
 <at>  <at>  -4,6 +4,6  <at>  <at> 
  * This exception is used to signal the webapp that the database has not yet
  * been created in the database.
  */
-public class DatabaseDoesNotExistException extends IllegalStateException {
+public class DatabaseDoesNotExistException extends Exception {
(Continue reading)

sethl3 | 2 Nov 2009 23:16
Picon

SF.net SVN: opennms:[15161] opennms/branches/feature-opennms-webapp-install /opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl .java

Revision: 15161
          http://opennms.svn.sourceforge.net/opennms/?rev=15161&view=rev
Author:   sethl3
Date:     2009-11-02 22:16:53 +0000 (Mon, 02 Nov 2009)

Log Message:
-----------
Fixed exception handling when setting admin password.

Modified Paths:
--------------
    opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java

Modified: opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java
===================================================================
---
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java	2009-11-02
22:09:37 UTC (rev 15160)
+++
opennms/branches/feature-opennms-webapp-install/opennms-webapp-install/src/main/java/org/opennms/server/InstallServiceImpl.java	2009-11-02
22:16:53 UTC (rev 15161)
 <at>  <at>  -173,8 +173,9  <at>  <at> 
         if (!this.checkOwnershipFileExists()) {
             throw new OwnershipNotConfirmedException();
         }
-        UserManager manager = UserFactory.getInstance();
         try {
+            UserFactory.init();
+            UserManager manager = UserFactory.getInstance();
             manager.setUnencryptedPassword("admin", password);
(Continue reading)


Gmane