Uploaded image for project: 'Corda'
  1. CORDA-470

Introduce target version and min platform version as app attributes

    Details

    • Type: Story
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: None
    • Components: None
    • Feature Team:
      Corda Core
    • Target Version/s:
    • Story Points:
      20
    • Sprint:
      Corda Sprint 10, Corda Sprint 9, Corda Sprint 8

      Description

      This is probably as simple as a couple of keys in a MANIFEST.MF file.

      We should document what it means, make sure API implementations can always access the target version of the calling CorDapp (i.e. by examining the flow, doing a stack walk or using Reflection.getCallerClass()) and do a simple test of an API that acts differently depending on the target version of the app.

      We should also implement checking at CorDapp load time that min platform version <= current platform version.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Florian.Friemel Florian.Friemel@r3.com
                Reporter:
                mike Mike Hearn
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: