Skip to content

Commit 0524634

Browse files
Merge pull request #10 from RusticiSoftware/v2.1.0-release
Updated library to work with course download and LTI 1.3 endpoints
2 parents 54f8b31 + 254ad92 commit 0524634

File tree

159 files changed

+1961
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+1961
-171
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SCORM Cloud Rest API
44
- API version: 2.0
5-
- Build date: 2021-11-05T13:19:45.469-05:00
5+
- Build date: 2022-09-26T11:33:06.485-05:00
66

77
REST API used for SCORM Cloud integrations.
88

@@ -42,7 +42,7 @@ Add this dependency to your project's POM:
4242
<dependency>
4343
<groupId>com.rusticisoftware.cloud.v2.client</groupId>
4444
<artifactId>scormcloud-api-v2-client</artifactId>
45-
<version>2.0.0</version>
45+
<version>2.1.0</version>
4646
<scope>compile</scope>
4747
</dependency>
4848
```
@@ -52,7 +52,7 @@ Add this dependency to your project's POM:
5252
Add this dependency to your project's build file:
5353

5454
```groovy
55-
compile "com.rusticisoftware.cloud.v2.client:scormcloud-api-v2-client:2.0.0"
55+
compile "com.rusticisoftware.cloud.v2.client:scormcloud-api-v2-client:2.1.0"
5656
```
5757

5858
#### Others
@@ -65,7 +65,7 @@ mvn clean package
6565

6666
Then manually install the following JARs:
6767

68-
* `target/scormcloud-api-v2-client-2.0.0.jar`
68+
* `target/scormcloud-api-v2-client-2.1.0.jar`
6969
* `target/lib/*.jar`
7070

7171
## Tips and Tricks
@@ -77,7 +77,7 @@ ApiResponse<Void> response = dispatchApi.updateDispatchesWithHttpInfo(new Update
7777
System.out.println(response.getHeaders().get("X-Total-Count"));
7878
```
7979

80-
## Release 2.0.X:
80+
## Changelog:
8181
Check the [changelog](https://cloud.scorm.com/docs/v2/reference/changelog/) for details of what has changed.
8282

8383
## Sample Code

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.rusticisoftware.cloud.v2.client'
5-
version = '2.0.0'
5+
version = '2.1.0'
66

77
buildscript {
88
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.rusticisoftware.cloud.v2.client",
44
name := "scormcloud-api-v2-client",
5-
version := "2.0.0",
5+
version := "2.1.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>scormcloud-api-v2-client</artifactId>
55
<packaging>jar</packaging>
66
<name>scormcloud-api-v2-client</name>
7-
<version>2.0.0-SNAPSHOT</version>
7+
<version>2.1.1-SNAPSHOT</version>
88
<url>https://rusticisoftware.com/products/scorm-cloud/api/</url>
99
<description>Swagger Generated Java Client for SCORM Cloud API v2</description>
1010
<scm>

src/main/java/com/rusticisoftware/cloud/v2/client/ApiClient.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
import com.rusticisoftware.cloud.v2.client.auth.ApiKeyAuth;
5252
import com.rusticisoftware.cloud.v2.client.auth.OAuth;
5353

54-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-11-05T13:19:45.469-05:00")
54+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-09-26T11:33:06.485-05:00")
5555
public class ApiClient {
5656
protected Map<String, String> defaultHeaderMap = new HashMap<String, String>();
5757
protected String basePath = "https://cloud.scorm.com/api/v2/";
@@ -74,13 +74,14 @@ public ApiClient() {
7474
this.dateFormat = new RFC3339DateFormat();
7575

7676
// Set default User-Agent.
77-
setUserAgent("Swagger-Codegen/2.0.0/java");
77+
setUserAgent("Swagger-Codegen/2.1.0/java");
7878

7979
// Setup authentications (key: authentication name, value: authentication).
8080
authentications = new HashMap<String, Authentication>();
8181
authentications.put("APP_MANAGEMENT", new HttpBasicAuth());
8282
authentications.put("APP_NORMAL", new HttpBasicAuth());
8383
authentications.put("OAUTH", new OAuth());
84+
authentications.put("UNSECURED", new HttpBasicAuth());
8485
// Prevent the authentications from being modified.
8586
authentications = Collections.unmodifiableMap(authentications);
8687
}

src/main/java/com/rusticisoftware/cloud/v2/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.List;
1818

19-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-11-05T13:19:45.469-05:00")
19+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-09-26T11:33:06.485-05:00")
2020
public class ApiException extends Exception {
2121
private int code = 0;
2222
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/rusticisoftware/cloud/v2/client/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.rusticisoftware.cloud.v2.client;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-11-05T13:19:45.469-05:00")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-09-26T11:33:06.485-05:00")
1717
public class Configuration {
1818
private static ApiClient defaultApiClient = new ApiClient();
1919

src/main/java/com/rusticisoftware/cloud/v2/client/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import javax.ws.rs.ext.ContextResolver;
1010

11-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-11-05T13:19:45.469-05:00")
11+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-09-26T11:33:06.485-05:00")
1212
public class JSON implements ContextResolver<ObjectMapper> {
1313
private ObjectMapper mapper;
1414

src/main/java/com/rusticisoftware/cloud/v2/client/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.rusticisoftware.cloud.v2.client;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-11-05T13:19:45.469-05:00")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-09-26T11:33:06.485-05:00")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/com/rusticisoftware/cloud/v2/client/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.rusticisoftware.cloud.v2.client;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-11-05T13:19:45.469-05:00")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-09-26T11:33:06.485-05:00")
1717
public class StringUtil {
1818
/**
1919
* Check if the given array contains the given value (with case-insensitive comparison).

0 commit comments

Comments
 (0)