On 01/15/2015 02:50 PM, Bobby Krupczak wrote: > Hey, I've got my XmpDetector kinda loading. Some questions: > > - A default-foreign-source.xml file is never created by default when I > installed ONMS. Is this normal?
Completely normal. The default version of this file is stashed away in the opennms-provision-persistence JAR and used in the absence of a copy in OPENNMS_HOME/etc. Editing the default foreign-source definition (either via the web UI or via the ReST API) is the typical way to cause a copy to appear in etc. Assuming you copied protocols/xmp/target/org.opennms.protocols.xmp-15.0.0-SNAPSHOT.jar to your OPENNMS_HOME/lib directory and restarted, "XMP" should show up in the list of available detector classes when you edit any foreign-source definition from the web UI. No file edits should be necessary. If this is not happening, then there's some missing piece in either your detector code (does it correctly implement / extend the relevant super-type so that Provisiond's reflection stuff automagically recognizes it?) or the XML glue that tells Provisiond's service registry to do this reflection stuff on the classes in your package. I don't have enough of this fresh in my mind to point you straight at the answer, I'm afraid. In case someone else who's reading this does, Bobby's fork is at https://github.com/rdkgit/opennms and the detector code is in protocols/xmp. -jeff
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_______________________________________________ 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