Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-167

Update properties on URI changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Taverna Language
    • None

    Description

      Some configuration properties, like #definesInputPort - references workflow beans like ActivityInputPort.

      However, if such beans are renamed, the configuration goes stale as the URI for the port has changed.

      It should be possible for a PropertyReference to also contain the link to the intended WorkflowBean. This URI for this bean should be used on serialisation rather than the coded URI (unless the coded URI is absolute - meaning it's historical.)

      This also gives a simpler interface to create such PropertyReference's instead of trying to guess according to what object the URI should be relative to. (Currently the Configuration).

      So on deserialisation, the property reference can be mapped to the found WorkflowBean - if it exists.

      This functionality becomes even more important to keep metadata in sync with annotated workflow beans (SCUFL2-42)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stain Stian Soiland-Reyes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: