noi-techpark / odh-mentor-otp

5 stars 8 forks source link

`Authority` not assigned to `Line` with a `AuthorityRef` #199

Closed leonardehrenfried closed 3 weeks ago

leonardehrenfried commented 1 month ago

Looking at https://cloud.opendatahub.com/index.php/s/dHXsK9KsFWdKXPC I see that the operators of the Lines are explicitly linked with a OperatorRef. The same is not true for Authority, which could be assigned with an AuthorityRef.

On the other hand, I note that the Authority is set as FrameDefaults:

     <FrameDefaults>
        <DefaultCodespaceRef ref="epip_data"></DefaultCodespaceRef>
        <DefaultResponsibilitySetRef ref="it:apb:Authority:apb:" version="any"></DefaultResponsibilitySetRef>
      </FrameDefaults>

Would you like to set the AuthorityRef explicitly (already supported) or change OTP code so that it parses the FrameDefaults?

cc @rcavaliere

rcavaliere commented 1 month ago

@leonardehrenfried I think we can consider the FrameDefaults, the AuthorityRef is always the same so it does not worth to insert it as additional field for all lines.