David Rideau | 2 Nov 16:01 2005
Picon

Re: [opennms-devel] Re: [opennms-discuss] Dev-jam?


David Hustace a écrit :

> ...
> This conference we are working on specific technologies for OpenNMS  
> that will provide us with an architecture for better WebUI,  
> scalability and distribution, "plug-ability".  We are going to be  
> introducing the following technologies and principles during the  
> conference this week:
>
>     1) AJAX
>     2) Spring Framework
>     3) Spring Web MVC
>     4) Maven 2
>     5) OSS/J
>     6) DAO Design Patterns
>     7) Hibernate 3
>     8) Tomcat 5
>     9) Java 5
>    10) XDoclet

OpenNMS WikiPage http://www.opennms.org/wiki/index.php?page=DropBox, 
Created on 01 Nov 2005 [21:46 UTC], presents a very interesting 
comparison of Portals using Portlets.
How OpenNMS can be considered as a portlet, or set of portlets, services 
? Which portal platform would have the preference in OpenNMS Team ?
It would be very nice, if we can delegate access rights on nodes and 
presentation layer per user, per roles, per groups...
Is this plan in this Dev-Jam, or near future ?

(Continue reading)

William L. Thomson Jr. | 3 Nov 00:42 2005

[opennms-devel] Firebird DB support

I really want to install and use OpenNMS. However I really do not want
to install and use PostgreSQL. I have nothing against PostgreSQL but
prefer Firebird.

At Linux World 05 in S.F. I mentioned to a couple guys, manning the
OpenNMS booth. That I would be willing to work on adding support for
Firebird. Some time has past and I am starting to get some free time to
work on that. Time to put my time and effort where my mouth was.

Just wanted to get some info before I start proceeding. Can someone give
me a high level developer overview of what all I will need to modify. I
see the postgresql dir in the sources/src dir. I assume I will need to
replicate all that.

Are there any Java bindings or is it straight JDBC from there? Aside
from stored procs, and etc. I believe the iplike.c to be the external db
stuff I was told about at Linux World. Which I will need to replicate as
a UDF for Firebird.

Anything else I need to touch or port? I assume something within OpenNMS
so it has an idea of which db to use etc. Just looking for any info or
advice to save me some time as I start hacking away.

Thanks, and be kind I am an OpenNMS newb and have not spent much time
with the sources yet. This weekend, I plan to get somewhat intimate.
Just after my first date with OpenNMS. :)

--

-- 
Sincerely,
William L. Thomson Jr.
(Continue reading)

David Hustace | 3 Nov 05:40 2005

Re: [opennms-devel] Firebird DB support


On Nov 2, 2005, at 6:42 PM, William L. Thomson Jr. wrote:

> I really want to install and use OpenNMS. However I really do not want
> to install and use PostgreSQL. I have nothing against PostgreSQL but
> prefer Firebird.

Thank you for your enthusiasm about OpenNMS and your willingness to  
donate precious time.  As far as adding support for Firebird, I would  
wait for the commits and proceedings from this week's DevJam where  
you will see our commitment to moving to Hibernate as an ORM.  Even  
though the focus of this conference is improving the Web MVC  
framework and various view technologies, much work in the domain  
model is required.  Hibernate is playing a major role and is helping  
us tremendously.  I see Hibernate has support for Firebird.  You may  
want to investigate any potential issues with Hibernate and Firebird,  
too.

After this week, brozow and the OGP will be more than happy to get  
more help migrating the entire domain model, if you want to jump in  
drop them a note (careful, the water is a bit chilly (grin)).

> Are there any Java bindings or is it straight JDBC from there? Aside
> from stored procs, and etc.

The stored procs will probably need to go.  I haven't given this a  
lot of thought, though.  We have added our stored procedures to HSQL  
(easy because they are Java) in our JUnit tests and could do the same  
of other databases, but this would tie us down to DBs that support  
this functionality.  Is that an issue?  I don't know, yet.
(Continue reading)

David Hustace | 3 Nov 05:57 2005

Re: [opennms-devel] Re: [opennms-discuss] Dev-jam?


On Oct 30, 2005, at 3:53 PM, Eric Molitor wrote:

> Also if you are looking at Hibernate why are you looking at DAO's?  
> (Maybe
> I'm thinking of the traditional DAO pattern and this is something  
> else.)

We have been looking at the classical DAO patterns as a possible  
alternative or additive to Hibernate; for not all of OpenNMS' data is  
in the relational database (XML, RRD).  So transactional adds, moves,  
changes, deletes, etc. impact RRD and the XML data stores and we're  
looking for ways to manage all of that, within transactions, if  
necessary.  We aren't experts in this field but we are coming up to  
speed fast as possible... as fast as we can with a very small team  
that is also making design decisions for an improved WebUI, security  
in the data model, testing frameworks... you know the story.

Any assistance would be greatly appreciated.

-David

David Hustace
The OpenNMS Group, Inc.
Main  : +1 919 545 2553   Fax:   +1 503-961-7746
Direct: +1 919 827 1201   Skype: dhustace
Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9  580F FACD 1D19 175E D903

-------------------------------------------------------
SF.Net email is sponsored by:
(Continue reading)

David Hustace | 3 Nov 06:05 2005

Re: [opennms-devel] Re: [opennms-discuss] Dev-jam?


On Nov 2, 2005, at 10:01 AM, David Rideau wrote:

> How OpenNMS can be considered as a portlet, or set of portlets,  
> services ? Which portal platform would have the preference in  
> OpenNMS Team ?

We've been wanting to implement JSR 168 for quite a long time, we are  
just now getting enough momentum in the project to begin investigation.

> It would be very nice, if we can delegate access rights on nodes  
> and presentation layer per user, per roles, per groups...
> Is this plan in this Dev-Jam, or near future ?

I believe you will find previous discussion about Acegi (http:// 
acegisecurity.sourceforge.net/) in this forum and it certainly make  
sense.

> I'm very impatient to see your work next week, and test it  
> rapidly. :-)

Me, too ;-)

> I don't know yet if there is a large community of french OpenNMS  
> users, but I'll try to present our experience, and increase the  
> french community :-)

Merci beaucoup,

-David
(Continue reading)

Robert Reilly | 3 Nov 20:44 2005

[opennms-devel] Bug/new feature: Annotations

All, David H suggested I submit this as a bug/feature, I am not sure how
to do that so I figured this list would be the best place. The
functionality described is akin to what is in Open View if you are
familiar with it.

Annotations: 
	1) Database schema, I think this is straight forward and there
are two possible ways of doing this. One using a array data type (which
has to be pre sized.. I think) and the index as the indexed number of
the annotation. The annotations can be used as a audit trail of the
event so data integrity is an issue, so each event would have a indexed
set of annotations with time stamps and free form text. 

	schema could be
	eventid int 
	ano_index array
	ano_ts timestamp
	annotation text

      The other schema type could be 
 	eventid int
	ano_index int
	ano_ts timestamp
	annotation text

Just some thoughts..  Im no dba ;-)

A few of the paths to an annotation could be the event creation ( this
would be excellent ), on the event view page "add annotation" ( super
great ) and a external program that auto corrective actions, alerting
(Continue reading)

William L. Thomson Jr. | 4 Nov 19:23 2005

Re: [opennms-devel] Firebird DB support

On Wed, 2005-11-02 at 23:40 -0500, David Hustace wrote:
>
> Thank you for your enthusiasm about OpenNMS and your willingness to  
> donate precious time.  As far as adding support for Firebird, I would  
> wait for the commits and proceedings from this week's DevJam where  
> you will see our commitment to moving to Hibernate as an ORM.

Does this mean the dependency of PostgreSQL will go away? Any idea when
will the commits take place?

>   Even  
> though the focus of this conference is improving the Web MVC  
> framework and various view technologies, much work in the domain  
> model is required.  Hibernate is playing a major role and is helping  
> us tremendously.  I see Hibernate has support for Firebird.  You may  
> want to investigate any potential issues with Hibernate and Firebird,  
> too.

I will look into Hibernate and Firebird further.

> After this week, brozow and the OGP will be more than happy to get  
> more help migrating the entire domain model, if you want to jump in  
> drop them a note (careful, the water is a bit chilly (grin)).

Hoping to get a version of OpenNMS going something this weekend. At
least for testing and experimenting.

> > Are there any Java bindings or is it straight JDBC from there? Aside
> > from stored procs, and etc.
> 
(Continue reading)

Matt Brozowski | 5 Nov 02:19 2005

Re: [opennms-devel] Firebird DB support


On Nov 4, 2005, at 1:23 PM, William L. Thomson Jr. wrote:

> I am netbeaner :)

Sorry. ;-)
________________________________________________________________________ 
___
Matt Brozowski, OpenNMS Maintainer			Main:	+1 919 812 4984
The OpenNMS Group, Inc.					Fax:		+1 503 961 7746
Email: brozow <at> opennms.org					URL:	http://www.opennms.com

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Eric Molitor | 7 Nov 02:04 2005

RE: [opennms-devel] Re: [opennms-discuss] Dev-jam?

Well a couple of things...
Spring, its good and the ACEGI stuff is built in. Even if you only used
Spring (via ACEGI) for HTTP Authentication and for DB access (either
hibernate or JDBC) you'd be better off than what's currently used in
OpenNMS. (Which isn't bad but it's a lot easier to just use someone else's
code.)

I would replace traditional DAO pattern with Springs JDBC support, it's a
lot easier than...

Try {
	DB crap
} catch {
	Log crap
} finally {
	Try {
		Result.close
	} catch (SQLException ex) {
		Log cant close
	}
	Try {
		Statement.close
	} catch (SQLException ex) {
		Log cant close
	}
	Try {
		Connection.close
	} catch (SQLException ex) {
		Log cant close
	}
(Continue reading)

David Hustace | 7 Nov 02:55 2005

Re: [opennms-devel] Re: [opennms-discuss] Dev-jam?


On Nov 6, 2005, at 8:04 PM, Eric Molitor wrote:

> I would replace traditional DAO pattern with Springs JDBC support,  
> it's a
> lot easier than...
>
> Try {
> 	DB crap
> } catch {
> 	Log crap
> } finally {
> 	Try {
> 		Result.close
> 	} catch (SQLException ex) {
> 		Log cant close
> 	}
> 	Try {
> 		Statement.close
> 	} catch (SQLException ex) {
> 		Log cant close
> 	}
> 	Try {
> 		Connection.close
> 	} catch (SQLException ex) {
> 		Log cant close
> 	}
> }

We couldn't agree more and even if we weren't going to implement a  
(Continue reading)


Gmane