Skip to content

Commit

Permalink
Add service definition for gdbots_ncr.node_etag_enricher (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbrown authored Feb 15, 2018
1 parent 5991bbb commit b61b2a2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG-0.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
This changelog references the relevant changes done in 0.x versions.


## v0.3.1
* Add service definition for `gdbots_ncr.node_etag_enricher` to ensure node's always get a new etag on create/update.


## v0.3.0
__BREAKING CHANGES__

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"require-dev": {
"phpunit/phpunit": "^6.4",
"aws/aws-sdk-php-symfony": "^1.0",
"aws/aws-sdk-php-symfony": "^2.0",
"ruflin/elastica": "^5.3"
},
"autoload": {
Expand Down
6 changes: 6 additions & 0 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
<tag name="pbjx.binder"/>
</service>

<!-- enrichers -->
<service id="gdbots_ncr.node_etag_enricher" class="Gdbots\Ncr\Enricher\NodeEtagEnricher">
<tag name="pbjx.event_subscriber"/>
<tag name="pbjx.enricher"/>
</service>

<!-- request handlers -->
<service id="gdbots_ncr.get_node_batch_request_handler" class="Gdbots\Ncr\GetNodeBatchRequestHandler">
<argument type="service" id="ncr"/>
Expand Down

0 comments on commit b61b2a2

Please sign in to comment.