Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11953

EC2 plugin needs to load regions dynamically (or add Oregon region to list)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ec2-plugin
    • None
    • Win/Linux

      EC2 plug-in seems to have regions hard coded. As more regions are added, these will have to be added to the list. Instead, it should retrieve all available regions through one API call, that way there would be no list to maintain.

      The problem code can be seen here:

      https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/AwsRegion.java (lines 19-23). It should get all that info with the API calls, not through hard-coded enum kind of thing.

          [JENKINS-11953] EC2 plugin needs to load regions dynamically (or add Oregon region to list)

          Ruben Orduz created issue -
          Ruben Orduz made changes -
          Description Original: EC2 plug-in seems to have regions hard coded. As more regions are added, these will have to be added to the list. Instead, it should retrieve all available regions through one API call, that way there would be no list to maintain. New: EC2 plug-in seems to have regions hard coded. As more regions are added, these will have to be added to the list. Instead, it should retrieve all available regions through one API call, that way there would be no list to maintain.

          The problem code can be seen here:

          https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/AwsRegion.java (lines 19-23). It should get all that info with the API calls, not through hard-coded enum kind of thing.
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Ruben Orduz made changes -
          Summary Original: EC2 plugin needs to load regions dynamically New: EC2 plugin needs to load regions dynamically (or add Oregon region to list)
          Frank Bille made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Frank Bille made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Frank Bille [ frankbille ]
          Francis Upton made changes -
          Assignee Original: Frank Bille [ frankbille ] New: Francis Upton [ francisu ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142225 ] New: JNJira + In-Review [ 190028 ]

            francisu Francis Upton
            rdo_ci Ruben Orduz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: