[Hawkular-commits] [hawkular/hawkular-alerts] 07f355: HWKALERTS-28, prefer path params
Jay Shaughnessy
jshaughn at redhat.com
Tue Apr 28 20:05:57 EDT 2015
Branch: refs/heads/master
Home: https://github.com/hawkular/hawkular-alerts
Commit: 07f355a4dc8cd35bf095628b6a6ee2ebfc3b4a7c
https://github.com/hawkular/hawkular-alerts/commit/07f355a4dc8cd35bf095628b6a6ee2ebfc3b4a7c
Author: Jay Shaughnessy <jshaughn at redhat.com>
Date: 2015-04-28 (Tue, 28 Apr 2015)
Changed paths:
M hawkular-alerts-rest/src/main/java/org/hawkular/alerts/rest/TriggersHandler.java
Log Message:
-----------
HWKALERTS-28, prefer path params
The triggerId is required in and the target of the path so I think we
should use it. Ensure the Condition is created using the 'triggerId' path
param.
Moreover, apply this semantic consistently, ensuring that path params are
assumed correct, and apply them to, or use them to verify, the ApiParam
structures.
More information about the hawkular-commits
mailing list