Possible bug found in configuration management

7 views
Skip to first unread message

Adam Todorski

unread,
Oct 2, 2012, 8:20:15 AM10/2/12
to reef-...@googlegroups.com
I think I've found a bug in Reef: if Equipment entities are added to an EquipmentGroup via a change in an XML config file that is loaded with the load command via the CLI, Reef will then silently fail to accept measurements for the Points on the new Equipment until karaf is restarted.

Steps to reproduce:

0. Configure Reef with at least one EquipmentGroup having a piece of Equipment having at least one Point, an analog for example
1. Alter that configuration to add a new, different piece of Equipment to the EquipmentGroup
2. Load the new config with the load command from the bin/client program
3. Publish measurements for the Points on the new Equipment using the MeasurementService
4. Attempt to view these published measurements with the MeasurementService
5. Observe none of the published values
6. completely stop then start reef
7. Attempt to publish more values
8. Observe that you can see the newly published values via the MeasurementService

Daniel Evans

unread,
Oct 4, 2012, 12:47:16 PM10/4/12
to reef-...@googlegroups.com
Currently the measurement processor white list (list of points to allow measurements from) doesn't update dynamically as points are added to endpoints.

Restarting the measurement processor ('restart #' where # is the bundle ID in the Karaf CLI) should suffice instead of restarting the entire process.

Ticket: 


--

Daniel Evans

Software Engineer

Green Energy Corp

(919) 836-9916

dev...@greenenergycorp.com

 

Transforming the Smart Grid

www.greenenergycorp.com

 


Reply all
Reply to author
Forward
0 new messages