It's all about the answers!

Ask a question

extending EWM with Custom Widget interacting with Custom Server Extension


Wolfgang Schlicker (1112) | asked Oct 06 '23, 4:04 a.m.

Hi all,

I want to extend EWM with a custom Widget which should interact with custom server extension. The custom server extension should implement some kind of workflow process (running in a separate thread) manipulating some workitems of different types, and this process should be started by pressing a button in the custom widget an showing the results in a workitem list in this custom widget.
Is this possible using jazz server sdk?
All this is currently implemented with an external Java GUI client interacting via OSLC with the Jazz server. New requirement is doing all this stuff inside Jazz with a custom widget and custom server extension.
BG Wolfgang

Accepted answer


permanent link
Ralph Schoon (63.6k33646) | answered Oct 06 '23, 5:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Oct 06 '23, 6:10 a.m.

 It is possible to expose a custom service, as far as I know using the extension point com.ibm.team.repository.service.serviceProvider .


I do not know if the material in the developer wiki still works for external users. Here the links I found searching for the extension point:



Wolfgang Schlicker selected this answer as the correct answer

Comments
Wolfgang Schlicker commented Oct 16 '23, 12:46 p.m.

Is there some tutorial or architecture doc available about concepts for doing mulithreading in an AbstractService extension to avoid blocking the whole Jazz server (e.g. implementing some workflow process)? 


Ralph Schoon commented Oct 17 '23, 2:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I do not know. You would have to search the SDK. The code uses runnables and there is also a job concept. It is also possible to elevate permission to administrative level. 


Wolfgang Schlicker commented Oct 20 '23, 11:49 a.m.

 when running the custom widget in context of the logged in user, and widget calls a method in the custom AbstractService via exposed interface, in which permission context will the server method run?


Ralph Schoon commented Oct 20 '23, 1:25 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
AFAIK in the context of the logged in user, obviously. Everything would be a security issue.
The Services can elevate the permissions when run internally.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.