<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/spec/unit/data_collector, branch https_shell</title>
<subtitle>github.com: opscode/chef.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/'/>
<entry>
<title>Add deprecations to Data Collector competion message</title>
<updated>2016-10-29T04:13:36+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-10-28T22:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=3a4442b96ba2005a9616e0f3137f651580a06ee7'/>
<id>3a4442b96ba2005a9616e0f3137f651580a06ee7</id>
<content type='text'>
By adding deprecation warnings to Data Collector, receivers of
Data Collector messages can easily identify nodes that would need
attention to their versions/cookbooks before a major version Chef
upgrade would be successful.

Signed-off-by: Adam Leff &lt;adam@leff.co&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By adding deprecation warnings to Data Collector, receivers of
Data Collector messages can easily identify nodes that would need
attention to their versions/cookbooks before a major version Chef
upgrade would be successful.

Signed-off-by: Adam Leff &lt;adam@leff.co&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix Style/BlockDelimiters, Style/MultilineBlockLayout and 0.42.0 engine upgrade</title>
<updated>2016-08-17T20:25:02+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-08-17T19:15:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=a0c32511bc6634538374ca4b433032b8acd05f96'/>
<id>a0c32511bc6634538374ca4b433032b8acd05f96</id>
<content type='text'>
Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ensuring the node in the run_converge message is a node object and that it gets serialized correctly</title>
<updated>2016-06-28T21:19:54+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-06-28T21:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=5137634af0777d8a49b0347b08eddd6aae0ecec7'/>
<id>5137634af0777d8a49b0347b08eddd6aae0ecec7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding node object to run_converge message, include ignore_failure property</title>
<updated>2016-06-28T20:02:41+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-06-28T15:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=3f6db5dc96b5ecb552a491e77730356e8df2021d'/>
<id>3f6db5dc96b5ecb552a491e77730356e8df2021d</id>
<content type='text'>
Many use cases that involve consuming the run_converge messages and
displaying them to end users include needing additional data about
the node that generated the run_converge message. This change
consolidates the run_converge and node_update message into a single
message making it easier for users to filter run_converge messages
based on attributes and criteria of the node itself.

Additionally, the ignore_failure property on a resource is now
included for each resource in the resource list so end users can
decided whether the failure was a hard failure or a soft failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many use cases that involve consuming the run_converge messages and
displaying them to end users include needing additional data about
the node that generated the run_converge message. This change
consolidates the run_converge and node_update message into a single
message making it easier for users to filter run_converge messages
based on attributes and criteria of the node itself.

Additionally, the ignore_failure property on a resource is now
included for each resource in the resource list so end users can
decided whether the failure was a hard failure or a soft failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand data_collector resource list to include all resources</title>
<updated>2016-06-24T18:48:42+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-06-23T03:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=bb56a100caf7de9b7f0bbcb1377ba7f7cae05f90'/>
<id>bb56a100caf7de9b7f0bbcb1377ba7f7cae05f90</id>
<content type='text'>
Historically when a Chef run fails, the event handlers only report
on resources that have been processed during the run. This change
allows the Data Collector to report those resources in the resource
collection that have not yet been processed so users can better
ascertain how much of their run was completed, and specifically
what resources were not processed as a result of the Chef failure.

Instead of building up a list of resources as they are processed,
this change instead creates a resource report for each resource+action
in the resource collection and then modifies each of those reports
once the resource is processed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Historically when a Chef run fails, the event handlers only report
on resources that have been processed during the run. This change
allows the Data Collector to report those resources in the resource
collection that have not yet been processed so users can better
ascertain how much of their run was completed, and specifically
what resources were not processed as a result of the Chef failure.

Instead of building up a list of resources as they are processed,
this change instead creates a resource report for each resource+action
in the resource collection and then modifies each of those reports
once the resource is processed.
</pre>
</div>
</content>
</entry>
<entry>
<title>bug fix: correctly write out data collector metadata file</title>
<updated>2016-06-10T16:11:46+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-06-10T16:11:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=54ced0da2bd835e3753cbe51e588cf3e8040a6c9'/>
<id>54ced0da2bd835e3753cbe51e588cf3e8040a6c9</id>
<content type='text'>
When we changed the messages from class instances to a module, the
reading of metadata into an instance variable was removed and
introduced a bug when updating metadata. This bug causes the
metadata to be properly read from disk, updated, but then the
metadata from disk is simply re-written to disk without the
intended updates.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we changed the messages from class instances to a module, the
reading of metadata into an instance variable was removed and
introduced a bug when updating metadata. This bug causes the
metadata to be properly read from disk, updated, but then the
metadata from disk is simply re-written to disk without the
intended updates.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug fix: updated_resource_count should only include updated resources</title>
<updated>2016-06-07T19:39:06+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-06-07T19:39:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=c4cf0bbf1836fb70b0dc3aaf2f5df0399f5633ee'/>
<id>c4cf0bbf1836fb70b0dc3aaf2f5df0399f5633ee</id>
<content type='text'>
After adding up-to-date and skipped resources to the DataCollector
resource list, the logic that computed the number of resources
updated needed to change accordingly. This change fixes that
bug and also eliminates an unnecessary counter that tracks
the total number of resources.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After adding up-to-date and skipped resources to the DataCollector
resource list, the logic that computed the number of resources
updated needed to change accordingly. This change fixes that
bug and also eliminates an unnecessary counter that tracks
the total number of resources.
</pre>
</div>
</content>
</entry>
<entry>
<title>Creation of the new DataCollector reporter</title>
<updated>2016-06-02T19:09:59+00:00</updated>
<author>
<name>Adam Leff</name>
<email>adam@leff.co</email>
</author>
<published>2016-05-18T18:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=e3039ee388b5a5f9dd6a90f74adc9a4bcf1eec8a'/>
<id>e3039ee388b5a5f9dd6a90f74adc9a4bcf1eec8a</id>
<content type='text'>
The DataCollector reporter is a new method for exporting data about your
Chef run. The details of this new feature can be found in
[RFC 077](https://github.com/chef/chef-rfc/blob/master/rfc077-mode-agnostic-data-collection.md).

Using the existing `EventDispatch` mechanics, the DataCollector reporter
collects data about a Chef run (when it starts, when it ends, what
resources were modified, etc.) and then POSTs them to a Data Collector
server URL that can be specified in your Chef configuration.

While similar functionality exists using the `ResourceReporter` and Chef
Reporting, a new implementation was done to decouple the reporting of this
data from requiring the use of a Chef Server (in the case of Chef Reporting),
opening the door to users being able to implement their own webhook-style
receiver to receive these messages and analyze them accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DataCollector reporter is a new method for exporting data about your
Chef run. The details of this new feature can be found in
[RFC 077](https://github.com/chef/chef-rfc/blob/master/rfc077-mode-agnostic-data-collection.md).

Using the existing `EventDispatch` mechanics, the DataCollector reporter
collects data about a Chef run (when it starts, when it ends, what
resources were modified, etc.) and then POSTs them to a Data Collector
server URL that can be specified in your Chef configuration.

While similar functionality exists using the `ResourceReporter` and Chef
Reporting, a new implementation was done to decouple the reporting of this
data from requiring the use of a Chef Server (in the case of Chef Reporting),
opening the door to users being able to implement their own webhook-style
receiver to receive these messages and analyze them accordingly.
</pre>
</div>
</content>
</entry>
</feed>
