Skip to content

Commit b9e21e0

Browse files
committed
Temporary fix for the metadata API issues.
1 parent a679c9a commit b9e21e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ install:
1818
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
1919
- mkdir ghpages
2020
- pandoc -o ghpages/index.html README.md
21-
- printf "%s" "$GH_PAGES_DEPLOYMENT_KEY" > gh_pages_deployment_key
21+
- printf "$GH_PAGES_DEPLOYMENT_KEY" > gh_pages_deployment_key
2222

2323
deploy:
2424
provider: pages:git

gen/src/main/java/com/softlayer/api/gen/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/** Entry point for the code generator */
1515
public class Main {
1616

17-
protected static final String METADATA_URL = "https://api.softlayer.com/metadata/v3.1";
17+
protected static final String METADATA_URL = "https://api.softlayer.com/metadata/v3.1/";
1818
protected static final String DEFAULT_SOURCE_PATH = "../src/main/java";
1919

2020
public static final String USAGE =
@@ -23,7 +23,7 @@ public class Main {
2323
" --src DIR - Optional directory to generate source into. The com.softlayer.api.service package\n" +
2424
" underneath this directory will be cleaned before code is generated. If not given,\n" +
2525
" ../src/main/java is used\n" +
26-
" --url URL - Optional metadata URL. If not given, http://api.softlayer.com/metadata is used.\n" +
26+
" --url URL - Optional metadata URL. If not given, http://api.softlayer.com/metadata/v3.1/ is used.\n" +
2727
" --whitelist FILENAME - Optional set of types, properties, and methods to whitelist. It is one\n" +
2828
" entry per line and anything not entered will not be included in the generated client. Simply\n" +
2929
" give the type name, the property as type_name.propertyName, or the method as type_name::methodName.\n" +

0 commit comments

Comments
 (0)