It's all about the answers!

Ask a question

Update an existing stream with another stream in RTC


Kunal Pasricha (847) | asked Sep 25 '14, 12:21 a.m.

Hi,

I am new to RTC, have a query Need to update an RTC stream with data in another stream.

e.g I have two streams A and B, their structure and everything is same, I want to update data in Stream A from Stream B, need these both streams to get in synch for once.

Accepted answer


permanent link
Ralph Schoon (63.6k33646) | answered Sep 25 '14, 4:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Sep 25 '14, 4:08 a.m.
Please have a look at this
  • https://jazz.net/library/article/126 it is very useful in any way.
  • https://jazz.net/library/article/539
  • https://jazz.net/library/article/1439

https://jazz.net/library/article/1439 describes your situation, I believe.


What you basically do is:

  1. Create a repository workspace based on the first stream.
  2. Load the repository workspace to disk.
  3. Add the other stream as a flow target to your repo workspace.
  4. Switch the current flow target of your repo workspace to the second stream.
  5. Accept and merge incoming changes from the second stream, merge and fix issues if needed.
  6. Finally deliver your integration back to the second stream.
  7. Switch the current flow target back to the first stream. If you had incoming changes and merges, you deliver those to the first stream, to bring it up to date.

Kunal Pasricha selected this answer as the correct answer

Comments
Kunal Pasricha commented Sep 25 '14, 4:19 a.m. | edited Sep 25 '14, 4:23 a.m.

ThanksĀ  a Lot for reply,

Is there any option using snapshot feature.

e.g I want to update data in Stream A from Stream B, I have taken snapshot of stream B can I use that in any way to update A.


Ralph Schoon commented Sep 25 '14, 4:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You can replace each of the components in the stream with the baselines of the components in the other stream that have been created with the snapshot on the first stream.

Or you throw away Stream B and create a new Stream B from the snapshot.


Kunal Pasricha commented Sep 25 '14, 4:39 a.m. | edited Sep 25 '14, 5:03 a.m.

thanks a lot. celebrate the day.


Ralph Schoon commented Sep 25 '14, 5:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Please note, when you throw away the stream, users that have it as flow target will have to set their flow target to the new stream.
Also please note:

  • Use a comment if you just want to comment to an answer (or question) rather than post another answer
  • Accept answers that are sufficient to solve your question

Thanks!

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.