Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

feature(v4.0): refactoring #80

Merged
merged 3 commits into from
Apr 7, 2016
Merged

feature(v4.0): refactoring #80

merged 3 commits into from
Apr 7, 2016

Conversation

mcolmant
Copy link
Contributor

Each base component has now is own supervisor, a Clock is not started automatically anymore (allows to have external "ticks", a new display for InfluxDB was written.

and, Closes #78

…utomatically created anymore

A Clock for producing periodic ticks is created only when the "every(frequency)" method is called on a PowerMonitoring object.
It allows then to have external ticks when needed.
Sensors, formulae and reporters have now their own Supervisor, and each component actor is now responsible to handle one target at a time.
Two reporters are not refactored yet (Rest, Fuse).

refactor(tests): improve the coverage, and clean tests

Several tests have been rewritten and cleaned.
The coverage is now up to more than 70%.

refactor(examples): change the external dependency to a local one

The examples were written to use PowerAPI as en external dependency. The dependency is now local (PowerAPIBuild), and allows to get the examples up-to-date with the powerapi-core library.
@mcolmant mcolmant self-assigned this Mar 15, 2016
*
* @author <a href="mailto:[email protected]">Romain Rouvoy</a>
*/
* A PowerModule groups a sets of tightly coupled API components that need to be deployed together.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "a sets" by "a set" !fix

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!fixed

This feature adds an InfluxDB display, using the standard java API.
@mcolmant mcolmant force-pushed the refactor/v4.0 branch 4 times, most recently from 76b3637 to 25dc96f Compare March 17, 2016 09:01
@mcolmant mcolmant force-pushed the refactor/v4.0 branch 2 times, most recently from 2443125 to 091be96 Compare April 5, 2016 11:02
Use travis for building docker images on tags and publish releases.

Closes #77
@rouvoy rouvoy merged commit ddd8b50 into develop Apr 7, 2016
@mcolmant mcolmant deleted the refactor/v4.0 branch April 7, 2016 07:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants