Skip to content

Commit 8b8a887

Browse files
committed
Merge branch 'master' into handle-bad-chars-in-urls-creds
2 parents ce2bcca + 7f315ef commit 8b8a887

File tree

8 files changed

+16
-125
lines changed

8 files changed

+16
-125
lines changed

.travis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ node_js:
44
- 6
55
- 8
66
before_install:
7-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_ac3aacad7ba8_key -iv $encrypted_ac3aacad7ba8_iv
8-
-in secrets.tar.enc -out test/resources/secrets.tar -d || true'
9-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && cd test/resources/ && tar xvf secrets.tar && cd ../.. || true'
7+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_ac3aacad7ba8_key
8+
-iv $encrypted_ac3aacad7ba8_iv -in secrets.tar.enc -out test/resources/secrets.tar
9+
-d || true'
10+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && cd test/resources/ && tar xvf secrets.tar
11+
&& cd ../.. || true'
1012
- npm install -g typescript
1113
script:
1214
- tsc
13-
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ];
14-
then npm run test-travis;
15-
else
16-
npm run test-unit-travis;
17-
fi
15+
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test-travis; else npm run
16+
test-unit-travis; fi
1817
- sh scripts/typedoc/generate_typedoc.sh
1918
after_success:
2019
- npm run report-coverage

assistant/v1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3715,6 +3715,8 @@ namespace AssistantV1 {
37153715
digress_out_slots?: string;
37163716
/** A label that can be displayed externally to describe the purpose of the node to users. This string must be no longer than 512 characters. */
37173717
user_label?: string;
3718+
/** Whether to consider the dialog node during runtime evaluation. Set to `true` to ignore the dialog node. */
3719+
disabled?: boolean;
37183720
}
37193721

37203722
/** CreateEntity. */

assistant/v2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ namespace AssistantV2 {
452452
actions?: DialogNodeAction[];
453453
/** Additional detailed information about a message response and how it was generated. */
454454
debug?: MessageOutputDebug;
455+
/** An object containing any custom properties included in the response. This object includes any arbitrary properties defined in the dialog JSON editor as part of the dialog node output. */
456+
user_defined?: Object;
455457
}
456458

457459
/** Additional detailed information about a message response and how it was generated. */

examples/personality_insights.v2.js

Lines changed: 0 additions & 81 deletions
This file was deleted.

secrets.tar.enc

-10 KB
Binary file not shown.

test/integration/adapter.personality_insights.v3.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ const TWENTY_SECONDS = 20000;
1111
describe('personality_insights_v3_adapter_integration', function() {
1212
jest.setTimeout(TWENTY_SECONDS);
1313
const mobydick = fs.readFileSync(path.join(__dirname, '../resources/mobydick.txt'), 'utf8');
14-
auth.personality_insights.v3.version = 'v3';
15-
auth.personality_insights.v3.version_date = '2016-10-19';
16-
const personality_insights = watson.personality_insights(auth.personality_insights.v3);
14+
auth.personality_insights.version = 'v3';
15+
auth.personality_insights.version_date = '2016-10-19';
16+
const personality_insights = watson.personality_insights(auth.personality_insights);
1717

1818
it('profile()', function(done) {
1919
const params = {

test/integration/personality_insights.v2.test.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

test/integration/personality_insights.v3.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ describe('personality_insights_v3_integration', function() {
1212
jest.setTimeout(TWENTY_SECONDS);
1313

1414
const mobydick = fs.readFileSync(path.join(__dirname, '../resources/mobydick.txt'), 'utf8');
15-
auth.personality_insights.v3.version = '2016-10-19';
16-
const personality_insights = new watson.PersonalityInsightsV3(auth.personality_insights.v3);
15+
auth.personality_insights.version = '2016-10-19';
16+
const personality_insights = new watson.PersonalityInsightsV3(auth.personality_insights);
1717

1818
it('profile with text content', function(done) {
1919
const params = {

0 commit comments

Comments
 (0)