How do I retrieve the streams that flow to a specific stream e.g. via a web call?
One answer
I don't think that info is exposed via the web ui.
Comments
Thanks for the quick reply.
Just to be clear I'm not asking about the Web UI but if I can programmatically retrieve that information via some sort of web service call.
take the word web service out of the conversation. Use the java api in a java pgm and you can do it.
currently as far as I can tell, the linkage is one way. workspaces point to streams, but streams don't point down to workspaces.. the client has to poll to detect changes, and pull to get them..
so you would have to open all the workspaces, get their flow tables, and flow nodes and workspace handles to see if the flow target matches the upstream stream.
I only know this cause I have been working on a utility to fixup this info after we copied the workspace to another system, and the streams are copied here too.
you can see this (lack of) data by opening the two object editors in eclipse. stream and workspace. at the bottom of the editor screen is the flow table, which shows targets only. (today)
Thanks for the info. However I think this reverse-flow-target information must be directly available as the flow diagram tool in Eclipse allows you to start with a stream and then open the streams that flow to it. It is very fast so seems to be getting the information directly? Also I was interested in a web call as an alternative to using the java api - I presume the java api is ultimately making a web call?