-
Bug
-
Resolution: Fixed
-
Major
-
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)
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 ] |
Summary | Original: EC2 plugin needs to load regions dynamically | New: EC2 plugin needs to load regions dynamically (or add Oregon region to list) |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: Kohsuke Kawaguchi [ kohsuke ] | New: Frank Bille [ frankbille ] |
Assignee | Original: Frank Bille [ frankbille ] | New: Francis Upton [ francisu ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
While not fixing the root cause (i.e. dynamic region loading from API call), I added the coded/config changes to add the new Oregon region. You can find these at:
https://gist.github.com/1423702