export class E2ManagerService {
- private basePath = 'api/e2mgr/';
+ private basePath = 'api/e2mgr/nodeb/';
constructor(private httpClient: HttpClient) {
// injects to variable httpClient
* @returns Observable. On success there is no data, only a code.
*/
endcSetup(req: E2SetupRequest): Observable<HttpResponse<Object>> {
- return this.httpClient.post(this.basePath + 'endcSetup', req, { observe: 'response' });
+ return this.httpClient.post(this.basePath + 'endc-setup', req, { observe: 'response' });
}
/**
* @returns Observable. On success there is no data, only a code.
*/
x2Setup(req: E2SetupRequest): Observable<HttpResponse<Object>> {
- return this.httpClient.post(this.basePath + 'x2Setup', req, { observe: 'response' });
+ return this.httpClient.post(this.basePath + 'x2-setup', req, { observe: 'response' });
}
/**
* @returns Observable with body.
*/
nodebPut(): Observable<any> {
- return this.httpClient.put((this.basePath + 'nodebShutdownPut'), { observe: 'body' });
+ return this.httpClient.put((this.basePath + 'shutdown'), { observe: 'body' });
}
}