Commit 8ef59904 authored by Hubert FONGARNAND's avatar Hubert FONGARNAND
Browse files

Make post signal endpoint plural

parent fd7eba9a
......@@ -22,7 +22,7 @@ public class BPMResource {
this.runtimeService = runtimeService;
}
@PostMapping("/signal")
@PostMapping("/signals")
@Timed
public ResponseEntity<Void> sendSignal(@RequestBody String signal) {
SignalEventReceivedBuilder signalEvent = runtimeService.createSignalEvent(signal);
......
......@@ -12,7 +12,7 @@ export class BpmService {
constructor(private http: Http) { }
sendSignal(signalName: string): Observable<Response> {
return this.http.post(`${this.resourceUrl}/signal/`, signalName);
return this.http.post(`${this.resourceUrl}/signals/`, signalName);
}
private convertResponse(res: Response): ResponseWrapper {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment