Skip to content

Commit

Permalink
Merge branch 'master' into SchedulerWorkflowCommandFix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandy247 authored Feb 28, 2019
2 parents a789b1b + c652374 commit b2244c9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The SDK is available in The Central Repository. To use the SDK, add the followin
<dependency>
<groupId>com.qubole.qds-sdk-java</groupId>
<artifactId>qds-sdk-java</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.qubole.qds-sdk-java</groupId>
<artifactId>qds-sdk-java-examples</artifactId>
<version>0.9.3</version>
<version>0.9.4-snapshot</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -16,7 +16,7 @@
<dependency>
<groupId>com.qubole.qds-sdk-java</groupId>
<artifactId>qds-sdk-java</artifactId>
<version>0.9.3</version>
<version>1.0.0-snapshot</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<groupId>com.qubole.qds-sdk-java</groupId>
<artifactId>qds-sdk-java</artifactId>
<name>Qubole Data Service Java SDK</name>
<version>0.9.2-SNAPSHOT</version>
<version>1.0.0-snapshot</version>
<description>
A Java library that provides the tools you need to
authenticate with, and use the Qubole Data Service API.
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/com/qubole/qds/sdk/java/api/NotebookAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public interface NotebookAPI
*
* @param name name of the notebook
* @param location location of the notebook
* @param note_type type of the notebook, available are "spark" and "presto"
* @param cluster_id cluster id of the cluster to associate notebook with
* @param noteType type of the notebook, available are "spark" and "presto"
* @param clusterId cluster id of the cluster to associate notebook with
* @return new builder
*/
public InvokableBuilder<NotebookResult> create(String name, String location, String noteType, String clusterId);
Expand All @@ -38,8 +38,8 @@ public interface NotebookAPI
*
* @param name name of the notebook
* @param location location of the notebook
* @param cluster_id cluster id of the cluster to associate notebook with
* @param notebook_id notebook id to configure
* @param clusterId cluster id of the cluster to associate notebook with
* @param notebookId notebook id to configure
* @return new builder
*/
public InvokableBuilder<NotebookResult> configure(String name, String location, String clusterId, String notebookId);
Expand All @@ -49,23 +49,23 @@ public interface NotebookAPI
*
* @param name name of the notebook
* @param location location of the notebook
* @param cluster_id cluster id of the cluster to associate notebook with
* @param cloned_from_notebook notebook id from which the new notebook is cloned
* @param clusterId cluster id of the cluster to associate notebook with
* @param clonedFromNotebook notebook id from which the new notebook is cloned
* @return new builder
*/
public InvokableBuilder<NotebookResult> clone(String name, String location, String clusterId, String clonedFromNotebook);

/**
* Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/bind-notebook.html
* @param cluster_id cluster id of the cluster who needs to be associated with notebook
* @param notebook_id notebook id
* @param clusterId cluster id of the cluster who needs to be associated with notebook
* @param notebookId notebook id
* @return new builder
*/
public InvokableBuilder<NotebookResult> bindNotebookToCluster(String clusterId, String notebookId);

/**
* Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/delete-notebook.html
* @param notebook_id notebook id
* @param notebookId notebook id
* @return new builder
*/
public InvokableBuilder<NotebookResult> delete(String notebookId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import com.qubole.qds.sdk.java.entities.DependencyInfo;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.qubole.qds.sdk.java.entities.ScheduleCommand;

import java.io.IOException;
import java.util.List;
import java.util.Map;
Expand Down

0 comments on commit b2244c9

Please sign in to comment.