Commits

lotte authored and Art Lowel committed ef3a235178b
added tests and typedoc
No tags

src/app/core/data/processes/script-data.service.ts

Modified
24 24 protected rdbService: RemoteDataBuildService,
25 25 protected store: Store<CoreState>,
26 26 protected objectCache: ObjectCacheService,
27 27 protected halService: HALEndpointService,
28 28 protected notificationsService: NotificationsService,
29 29 protected http: HttpClient,
30 30 protected comparator: DefaultChangeAnalyzer<Script>) {
31 31 super();
32 32 }
33 33
34 - public invocate(scriptName: string, parameters: ProcessParameter[], files: File[]) {
34 + public invoke(scriptName: string, parameters: ProcessParameter[], files: File[]) {
35 35 this.getBrowseEndpoint().pipe(
36 36 map((endpoint: string) => new URLCombiner(endpoint, scriptName, 'processes').toString()),
37 37 map((endpoint: string) => {
38 38 const body = this.getInvocationFormData(parameters, files);
39 39 return new MultipartPostRequest(this.requestService.generateRequestId(), endpoint, body)
40 40 }),
41 41 map((request: RestRequest) => this.requestService.configure(request))
42 42 ).subscribe();
43 43 }
44 44

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut