Skip to content

Commit fc41f29

Browse files
authored
Merge pull request #1030 from watson-developer-cloud/release-6.12.0
Release 6.12.0
2 parents c6a0ee7 + c5f24a3 commit fc41f29

File tree

110 files changed

+3598
-359
lines changed

Some content is hidden

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

110 files changed

+3598
-359
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 6.11.3
2+
current_version = 6.12.0
33
commit = True
44
message = [skip ci] docs: Update version numbers from {current_version} -> {new_version}
55

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- repo: [email protected]:Whitewater/whitewater-detect-secrets
2+
rev: master
3+
hooks:
4+
- id: detect-secrets # pragma: whitelist secret
5+
args: [--baseline, .secrets.baseline, --no-keyword-scan ]

.secrets.baseline

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"exclude_regex": null,
3+
"generated_at": "2019-01-16T16:41:59Z",
4+
"plugins_used": [
5+
{
6+
"base64_limit": 4.5,
7+
"name": "Base64HighEntropyString"
8+
},
9+
{
10+
"name": "BasicAuthDetector"
11+
},
12+
{
13+
"hex_limit": 3,
14+
"name": "HexHighEntropyString"
15+
},
16+
{
17+
"name": "PrivateKeyDetector"
18+
},
19+
{
20+
"name": "SlackDetector"
21+
}
22+
],
23+
"results": {},
24+
"version": "0.10.3"
25+
}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ All the services:
6161
<dependency>
6262
<groupId>com.ibm.watson.developer_cloud</groupId>
6363
<artifactId>java-sdk</artifactId>
64-
<version>6.11.3</version>
64+
<version>6.12.0</version>
6565
</dependency>
6666
```
6767

@@ -71,7 +71,7 @@ Only Discovery:
7171
<dependency>
7272
<groupId>com.ibm.watson.developer_cloud</groupId>
7373
<artifactId>discovery</artifactId>
74-
<version>6.11.3</version>
74+
<version>6.12.0</version>
7575
</dependency>
7676
```
7777

@@ -80,13 +80,13 @@ Only Discovery:
8080
All the services:
8181

8282
```gradle
83-
'com.ibm.watson.developer_cloud:java-sdk:6.11.3'
83+
'com.ibm.watson.developer_cloud:java-sdk:6.12.0'
8484
```
8585

8686
Only Assistant:
8787

8888
```gradle
89-
'com.ibm.watson.developer_cloud:assistant:6.11.3'
89+
'com.ibm.watson.developer_cloud:assistant:6.12.0'
9090
```
9191

9292
##### Development snapshots
@@ -109,7 +109,7 @@ And then reference the snapshot version on your app module gradle
109109
Only Speech to Text:
110110

111111
```gradle
112-
'com.ibm.watson.developer_cloud:speech-to-text:6.11.4-SNAPSHOT'
112+
'com.ibm.watson.developer_cloud:speech-to-text:6.12.1-SNAPSHOT'
113113
```
114114

115115
##### JAR
@@ -348,7 +348,7 @@ Gradle:
348348

349349
```sh
350350
cd java-sdk
351-
gradle jar # build jar file (build/libs/watson-developer-cloud-6.11.3.jar)
351+
gradle jar # build jar file (build/libs/watson-developer-cloud-6.12.0.jar)
352352
gradle test # run tests
353353
gradle check # performs quality checks on source files and generates reports
354354
gradle testReport # run tests and generate the aggregated test report (build/reports/allTests)
@@ -401,4 +401,4 @@ or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-watson).
401401
[ibm-cloud-onboarding]: http://console.bluemix.net/registration?target=/developer/watson&cm_sp=WatsonPlatform-WatsonServices-_-OnPageNavLink-IBMWatson_SDKs-_-Java
402402

403403

404-
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-6.11.3/java-sdk-6.11.3-jar-with-dependencies.jar
404+
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-6.12.0/java-sdk-6.12.0-jar-with-dependencies.jar

assistant/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<dependency>
88
<groupId>com.ibm.watson.developer_cloud</groupId>
99
<artifactId>assistant</artifactId>
10-
<version>6.11.3</version>
10+
<version>6.12.0</version>
1111
</dependency>
1212
```
1313

1414
##### Gradle
1515
```gradle
16-
'com.ibm.watson.developer_cloud:assistant:6.11.3'
16+
'com.ibm.watson.developer_cloud:assistant:6.12.0'
1717
```
1818

1919
## Usage

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v2/model/DialogNodeOutputOptionsElementValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class DialogNodeOutputOptionsElementValue extends GenericModel {
2424
/**
2525
* Gets the input.
2626
*
27-
* The user input.
27+
* An input object that includes the input text.
2828
*
2929
* @return the input
3030
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v2/model/DialogSuggestionValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class DialogSuggestionValue extends GenericModel {
2525
/**
2626
* Gets the input.
2727
*
28-
* The user input.
28+
* An input object that includes the input text.
2929
*
3030
* @return the input
3131
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v2/model/MessageContextGlobal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class MessageContextGlobal extends GenericModel {
2424
/**
2525
* Gets the system.
2626
*
27-
* Properties interpreted by the Assistant that are shared across all skills within the Assistant.
27+
* Properties that are shared by all skills used by the assistant.
2828
*
2929
* @return the system
3030
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v2/model/MessageContextGlobalSystem.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ public String getTimezone() {
4141
* Gets the userId.
4242
*
4343
* A string value that identifies the user who is interacting with the assistant. The client must provide a unique
44-
* identifier for each individual end user who accesses the application. This user ID may be used for billing and
45-
* other purposes.
44+
* identifier for each individual end user who accesses the application. For Plus and Premium plans, this user ID is
45+
* used to identify unique users for billing purposes. This string cannot contain carriage return, newline, or tab
46+
* characters.
4647
*
4748
* @return the userId
4849
*/
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Copyright 2018 IBM Corp. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5+
* the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
10+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
11+
* specific language governing permissions and limitations under the License.
12+
*/
13+
package com.ibm.watson.developer_cloud.assistant.v2.model;
14+
15+
import com.google.gson.annotations.SerializedName;
16+
import com.ibm.watson.developer_cloud.service.model.GenericModel;
17+
18+
/**
19+
* Contains information specific to a particular skill within the Assistant.
20+
*/
21+
public class MessageContextSkill extends GenericModel {
22+
23+
@SerializedName("user_defined")
24+
private String userDefined;
25+
26+
/**
27+
* Gets the userDefined.
28+
*
29+
* Arbitrary variables that can be read and written to by a particular skill within the Assistant.
30+
*
31+
* @return the userDefined
32+
*/
33+
public String getUserDefined() {
34+
return userDefined;
35+
}
36+
}

0 commit comments

Comments
 (0)