[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-devel
Subject:    [opennms-devel] event/alarm 3gpp model implementation
From:       Andrea Colpo <andreacolpo () yahoo ! it>
Date:       2009-01-16 19:22:13
Message-ID: 286579.10122.qm () web23708 ! mail ! ird ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello all,
we'd like to submit to your attention what we're going to implement starting from \
OpenNMS 1.6.1 version. We have talked with Davide Hustace about this work and he \
suggest us to write to this developer list describing the work.
We need to work starting from version 1.6.1 because we have a short time delivery \
request, so we prefer to work on a recognized stable release. (or 1.6.2 last \
released)  
I attach 2 class diagram to explain first steps we have thought so to realize a 3gpp \
event/alarm model.  
Class_Diagram_3gpp_datamodel.jpg
----------------------------------------------------------------
describe an astract of actual OnmsEvent and OnmsAlarm class and some relations of \
these entities. Present the extention of the above with the declaration on all needed \
new attributes. For the 2 new classes is presented a box with some notes. A little \
description of the specific attribute, and a description for all derived attributes \
(meaning attributes already present into parent class, simply defined different \
accessor methods)  
Class_Diagram_3gpp_datamodel-dao.jpg
--------------------------------------------------------------------
describe new classes needed to implements dao objects, with related changes into \
spring configuration. We're thinking to extends JdbcEventWriter and JdbcAlarmWriter \
so to save OnmsEvent3gpp and OnmsAlarm3gpp specific attributes, with a little \
modification of parent classes (Jdbc*Writer) so to be able to populate \
PreparedStatement with all OnmsEvent|OnmsAlarm attributes but being able to control \
if the PreparedStatement should be executed or just populated.
With David we have talked about a possible 3gppAlarmPersister to be used by Alarmd \
(alternatively to the actual AlarmPersisterImpl), but this approach is not in 1.6.1 \
so we are not able to follow it by now.  
With the proposed approach all jsp and all other classes presents in OpenNMS will \
continue to work because OnmsEvent3gpp and OnmsAlarm3gpp are extentions classes.
  
Our idea is that one could start or with default event/alarm model, or with the 3gpp \
model. So we need to define a customization of database schema creation (referring to \
create.sql), for example an 'update_schema_3gpp.sql' to be invoked at the end of \
OpenNMS installation process and before start working with it.
  
What do you think about this? Do you see any contraindication ?
Thanks for any reply.
Andrea C.


      


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:arial, helvetica, \
sans-serif;font-size:12pt"><DIV><FONT face=Arial size=2><SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello all,</SPAN></FONT></DIV> <DIV \
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"> <DIV \
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> <DIV \
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">we'd like to submit to your attention what we're going to \
implement starting from OpenNMS 1.6.1 version.</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">We have talked with Davide Hustace about this work and he suggest \
us to write to this developer list</SPAN></FONT></P> <P class=MsoNormal><FONT \
face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">describing the work.</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial \
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We need to work \
starting from version 1.6.1 because we have a short time delivery \
request,</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">so we prefer to work on a \
recognized stable release. (or 1.6.2 last released)</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial \
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I attach 2 class \
diagram to explain first steps we have thought so to realize a 3gpp event/alarm \
model.</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">Class_Diagram_3gpp_datamodel.jpg</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">--------------------------------<SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">--------------------------------</SPAN></SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">describe an astract of actual OnmsEvent and OnmsAlarm class and \
some relations of these entities.</SPAN></FONT></P> <P class=MsoNormal><FONT \
face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">Present the extention of the above with the declaration on all needed new \
attributes.</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">For the 2 new classes is \
presented a box with some notes. A little description of the specific \
attribute,</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">and a description for all \
derived attributes (meaning attributes already present into parent class, simply \
defined different accessor methods)</SPAN></FONT></P> <P class=MsoNormal><FONT \
face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">&nbsp;</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=PT-BR style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">Class_Diagram_3gpp_datamodel-dao.jpg</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">------------------------------------<SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">--------------------------------</SPAN></SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">describe new classes needed to implements dao objects, with \
related changes into spring configuration.</SPAN></FONT></P> <P class=MsoNormal><FONT \
face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We're \
thinking to extends JdbcEventWriter and JdbcAlarmWriter so to save OnmsEvent3gpp and \
OnmsAlarm3gpp specific attributes,</SPAN></FONT></P> <P class=MsoNormal><FONT \
face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">with a \
little modification of parent classes (Jdbc*Writer) so to be able to populate \
PreparedStatement</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">with all OnmsEvent|OnmsAlarm \
attributes but being able to control if the PreparedStatement should be \
executed</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">or just \
populated.</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">With David we have talked \
about a possible 3gppAlarmPersister to be used by Alarmd (alternatively to the actual \
AlarmPersisterImpl),</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial \
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">but this approach \
is not in 1.6.1 so we are not able to follow it by now.</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial \
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">With the proposed \
approach all jsp and all other classes presents in OpenNMS will continue to \
work</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">because OnmsEvent3gpp and OnmsAlarm3gpp \
are extentions classes.</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial \
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">&nbsp;</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN \
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Our idea is that one could \
start or with default event/alarm model, or with the 3gpp model.</SPAN></FONT></P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">So we need to define a customization of database schema creation \
(referring to create.sql),</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial \
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">for example an \
'update_schema_3gpp.sql' to be invoked at the end of OpenNMS installation \
process</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">and before start working with \
it.</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P> <P \
class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">What do you think about this? Do you see any contraindication \
?</P></SPAN></FONT> <P class=MsoNormal style="BORDER-RIGHT: medium none; \
PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; \
BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext"><FONT \
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks for any \
reply.</SPAN></FONT></P> <P class=MsoNormal style="BORDER-RIGHT: medium none; \
PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; \
BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext"><FONT \
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Andrea \
C.</SPAN></FONT></P> <P>&nbsp;</P></DIV><BR></DIV></DIV></div><br>



      </body></html>
--0-1995943813-1232133733=:10122--


["Class_Diagram_3gpp.zip" (application/x-zip-compressed)]

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic