kressaty opened a new pull request #90: Return Complete Rules via Rule REST 
Endpoint /cxs/rules
URL: https://github.com/apache/unomi/pull/90
 
 
   Previously, when listing all Rules as `GET /cxs/rules`, the returned Rule 
objects were incomplete, modified definitions of a complete Rule object with 
different (and fewer) keys. Besides not being particularly RESTful, this also 
made it difficult to inspect specifics around Rules without querying each 
individually, or building a detailed query using the `matchAllCondition` 
condition.
   
   This update makes an existing `getAllRules()` method public and part of the 
`RuleServiceImplementation`, and returns the entire Rule definition as is 
expected and equivalent to the result of returning a single Rule definition.
   
   (First PR here, please feel free to correct, modify, or let me know of any 
PR requirements!)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to