Skip to content

Commit

Permalink
optimization: Search for dataset by alias
Browse files Browse the repository at this point in the history
  • Loading branch information
datasetutil committed Sep 21, 2016
1 parent 7fbeff0 commit 5a4a090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sforce/dataset/util/XmdUploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static boolean uploadXmd(String userXmdFile, String datasetAlias, String
if(datasetId == null || datasetVersion == null || datasetId.trim().isEmpty() || datasetVersion.trim().isEmpty())
{

URI listEMURI = new URI(u.getScheme(),u.getUserInfo(), u.getHost(), u.getPort(), "/insights/internal_api/v1.0/esObject/edgemart", "current=true",null);
URI listEMURI = new URI(u.getScheme(),u.getUserInfo(), u.getHost(), u.getPort(), "/insights/internal_api/v1.0/esObject/edgemart", "current=true&alias="+datasetAlias,null);
HttpGet listEMPost = new HttpGet(listEMURI);
listEMPost.setConfig(requestConfig);

Expand Down

0 comments on commit 5a4a090

Please sign in to comment.