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

Add explicit format to magix spec #12

Open
altavir opened this issue Oct 24, 2020 · 2 comments
Open

Add explicit format to magix spec #12

altavir opened this issue Oct 24, 2020 · 2 comments
Assignees

Comments

@altavir
Copy link
Member

altavir commented Oct 24, 2020

Based on recent discussions, I suggest making a final change to magix package format:

  • Add mandatory format string field. Which will replace the origin field. The format does not point to a specific endpoint, it only specified the payload format. Plugins can evaluate messages based on this field.

  • Replace mandatory origin by optional originID (or sourceID). Which specified the unique ID of a specific endpoint (either system or service).

  • Deprecate target field.

The reasoning behind those changes is the following:

  • It is possible to have several connected systems of the same type. For example, there could be two TANGO connectors. In current spec, it is not possible to distinguish between them without creating complex parsing rules for origin.

  • We need to be able to identify systems. For example, we will need to be able to subscribe to specific endpoint events. Also we will want to have services that will be able to resolve direct connection from API (like CORBA does in TANGO and LDAP in DOOCS). This direct connection is needed for binary transfer.

  • Currently there are no cases where the endpoint explicitly creates a message for another endpoint. We are working strictly on subscription policy. Therefore target is meaningless.

@altavir
Copy link
Member Author

altavir commented Nov 2, 2020

Even better to use sourceEndpoint for origin in order to make terminology clear.

@altavir altavir mentioned this issue Jun 20, 2021
@Ingvord
Copy link
Member

Ingvord commented Jun 21, 2021

sourceEndpoint sounds OK for me

target is very useful exactly in cases when specific target is being addressed, and in fact is already used in AXSIS-XES for controlling motors. We can replace it with targetEndpoint

SPC-code pushed a commit to SciProgCentre/magix-rfc that referenced this issue Jul 29, 2023
SPC-code pushed a commit to SciProgCentre/magix-rfc that referenced this issue Jul 29, 2023
SPC-code pushed a commit to SciProgCentre/controls-kt that referenced this issue Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants