Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-277

Make compute image descriptions nullable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.2, 1.7.0
    • 1.6.3, 1.7.0
    • jclouds-compute
    • None

    Description

      org.jclouds.compute.domain.Image has "name" and "description" properties. "name" is Nullable but "description" isn't. This seems to be a little inconsistent, why should an Image description String be so strict about its contents if the name is completely ambivalent?

      While this seems to be a pretty trivial matter the "openstack-nova" provider has no concept of an Image description, only a name. This is worked around by assigning the "openstack-nova" name to both the JClouds Image name and description. I'm experiencing an issue when the "openstack-nova" has a null name and tries to assign it to the currently NOT nullable description.

      I hope this makes sense

      Attachments

        1. JCLOUDS-277.patch
          5 kB
          Andrew Phillips

        Activity

          People

            joshvote Joshua Vote
            joshvote Joshua Vote
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified