Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-536

Ability to map different role properties when packaging an Azure cloud service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.0-incubating
    • Backlog
    • None
    • None

    Description

      In the current implementation, the call to CSPACK will always use the artifact ID for the rolename of a dependency that is a web or worker role. However, this may not be the case - so it should be possible to create a mapping, and to generate that with the project importer.

      Likewise, currently a single framework version can be passed to the azure plugin and is used to populate the role property for each dependency, but it may be possible that the project was from a different SDK version. This can be hard to detect from the artifact, unless additional data is written to the repository, but it could be configurable as above.

      Something like the following would be suitable:

      <roleMappings>
        <roleMapping>
          <artifactId>My.WebRole</artifactId>
          <roleName>WebRole</roleName>
          <frameworkVersion>3.5</frameworkVersion>
        </roleMapping>
      </roleMappings>
      

      Alternatively, the packaging plugins could generate this information and store in the local repository, then retrieve it as part of the packaging process to create the right role properties file - but it may be difficult if some dependencies need to be used after this was originally considered.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: