Skip to content
Snippets Groups Projects
Commit 8ef59904 authored by Hubert FONGARNAND's avatar Hubert FONGARNAND
Browse files

Make post signal endpoint plural

parent fd7eba9a
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment