ptoma98 / skytap-cloud-plugin

Repository for Release 2 of the Skytap Plugin
0 stars 0 forks source link

Embedded spaces in configuration name causes Create Configuration from Template operation to fail #1

Closed tjmilligan closed 10 years ago

tjmilligan commented 10 years ago

When using the "Create Configuration from Template" operation, if I specify a name for a configuration with spaces in the config name, the operation fails:


Creating Configuration from Template

Expanding environment variable ... ConfigData-$BUILD_NUMBER=>ConfigData-19 Expanding environment variable ... ICNR Connect Test $BUILD_NUMBER=>ICNR Connect Test 19 File: ConfigData-19 was specified without a path. Defaulting path to Jenkins workspace. Expanding environment variable ... ${WORKSPACE}=>/var/lib/jenkins/jobs/API-Network-Failure/workspace Template File: Config File: /var/lib/jenkins/jobs/API-Network-Failure/workspace/ConfigData-19 Config Name: ICNR Connect Test 19 Template ID: 320569 Checking availability of template with id: 320569 Building request url ... Request URL: https://cloud.skytap.com/templates/320569 HTTP GET Request: GET https://cloud.skytap.com/templates/320569 HTTP/1.1 Executing Request: GET https://cloud.skytap.com/templates/320569 HTTP/1.1 HTTP/1.1 200 OK Template is available. Building request url ... Request URL: https://cloud.skytap.com/configurations/?template_id=320569 HTTP POST Request: POST https://cloud.skytap.com/configurations/?template_id=320569 HTTP/1.1 Executing Request: POST https://cloud.skytap.com/configurations/?template_id=320569 HTTP/1.1 HTTP/1.1 200 OK Building request url ... Request URL: https://cloud.skytap.com/configurations/1438496?name=ICNR Connect Test 19 FATAL: null java.lang.IllegalArgumentException at java.net.URI.create(URI.java:859)