How to get the process configuration source xml file ?
Hi,
I want to fetch the process configuration source xaml given a project area. Is their any API which fetches this xaml file. Basically I want to parse this file and extract information regarding operation behaviors. Thanks, Kishore |
4 answers
Kishore,
if your code is invoked by a service, you can use the IContentService for retrieving the XML content. You need something like: IProcessContainer projectArea= ...; IContentService contService= getService(IContentService.class); Map<String> procData= projectArea.getProcessData(); IContent procContent= procData.get(ProcessContentKeys.PROCESS_SPECIFICATION_KEY); ByteArrayOutputStream outStream= new ByteArrayOutputStream(); contService.retrieveContent(procContent, outStream); String xmlContent= outStream.toString(IContent.ENCODING_UTF_8); HTH, Jan. -- Jan Wloka Jazz Work Item Team On Fri, 08 Jan 2010 10:23:05 +0100, kkishore <krishna> wrote: Hi, |
Hi Jan,
I was not specific in my question. I am not looking at JAVA API. I want to know if their is a web request, something like a REST call. I work on the RTC Visual Studio clien team and I want to get this data from the VS client. Thanks, Kishore Kishore, Hi, |
Jared Burns (4.5k●2●9)
| answered Jan 11 '10, 9:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Mon, 11 Jan 2010 05:37:53 +0000, kkishore wrote:
I was not specific in my question. I am not looking at JAVA API. I want No, we don't have a REST API for this yet. -- Jared Burns Jazz Process Team |
Hi,
Where can I find documentation on the API? I see your code but I can hardly understand the object model. Is it possible to get the source config XML, make changes and set it back to the project area? On Mon, 11 Jan 2010 05:37:53 +0000, kkishore wrote: I was not specific in my question. I am not looking at JAVA API. I want No, we don't have a REST API for this yet. -- Jared Burns Jazz Process Team |
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.