Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: Implement same-origin filter #34

Open
bevand10 opened this issue Aug 15, 2022 · 0 comments
Open

DRAFT: Implement same-origin filter #34

bevand10 opened this issue Aug 15, 2022 · 0 comments
Labels

Comments

@bevand10
Copy link
Contributor

Given

  • In some working scenarios, MOS servers are configured to emit main and reserve path traffic.
  • In these circumstances, MOS messages, when collated by receiving MOS devices (that can have main and buddy servers defined), the main path and reserve path messages end up saved side-by-side in the same directory
  • mosromgr does not work correctly when processing a directory of mixed main and reserve MOS messages received for the same running order

When
mosromgr loads MOS messages from a directory

Then
A filtering process should be applied to messages to skip those arriving via the buddy NCS server

AC/s

  • That MOSROMGR will correctly order stories on a client configured with main and buddy NCS servers

BBC use of main and buddy
Main and buddy NCS configurations are common across the BBC. See this recent example in Cardiff where Autoscript clients are configured with main and buddy server connections.
The FIP servers in News are configured with main and buddy connections.

Developer notes
Messages that emit from main and buddy servers feature a handy way to identify buddy messages.

A typical main message contains the following basic data:

<mos>
  <mosID>mosid.w1.bbc.mos</mosID>
  <ncsID>ncsid.w1.bbc.mos</ncsID>
  <roCreate>
  ...
  </roCreate>
</mos>

A typical buddy message contains the following basic data:

<mos>
  <mosID>mosid.w1.bbc.mos</mosID>
  <ncsID>mosid.salford.bbc.mos</ncsID>
  <roCreate>
  ...
  </roCreate>
</mos>

The tell-tail sign of a buddy message is a consistent difference between the domain_name values for used in the mosID vs ncsID elements in the message.

To

@bevand10 bevand10 added the draft label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant