Skip to content

Commit d1b52b6

Browse files
Merge pull request #776 from watson-developer-cloud/pre-3.9.0
3.9.0
2 parents 95923d1 + f102fa5 commit d1b52b6

File tree

156 files changed

+375
-5367
lines changed

Some content is hidden

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

156 files changed

+375
-5367
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at germanattanasio@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ bin/
1515
.config.properties
1616
.checkstyle
1717
.gradletasknamecache
18-
docs
18+
docs
19+
.swagger-codegen-ignore
20+
.vscode/

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: java
2-
sudo: false
2+
sudo: required
3+
dist: precise
34
jdk:
4-
- oraclejdk8
55
- oraclejdk7
6+
- oraclejdk8
67

78
branches:
89
except:
@@ -31,11 +32,10 @@ before_install:
3132
script:
3233
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_a973fe4f8e79_key -iv $encrypted_a973fe4f8e79_iv -in .config.properties.enc -out core/src/test/resources/.config.properties -d || true'
3334
- ./gradlew install -x check
34-
- ./gradlew test
35-
- ./gradlew codeCoverageReport
36-
- ./gradlew docs > /dev/null # build the javadoc
3735
- ./gradlew checkstyleMain
3836
- ./gradlew checkstyleTest
37+
- ./gradlew codeCoverageReport --continue
38+
- ./gradlew docs > /dev/null # build the javadoc
3939

4040
after_success:
4141
- bash <(curl -s https://codecov.io/bash)

.utility/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/java-sdk" ] && \
44
[ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && \
55
[ "$TRAVIS_PULL_REQUEST" == "false" ] && \
6-
[ "$TRAVIS_BRANCH" == "master" ]; then
6+
[ "$TRAVIS_BRANCH" == "develop" ]; then
77
openssl aes-256-cbc -K $encrypted_bdb9d73a7940_key -iv $encrypted_bdb9d73a7940_iv -in .utility/cd/secring.gpg.enc -out .utility/cd/secring.gpg -d
88
./gradlew uploadArchives -Psigning.keyId=$SIGNING_KEY -Psigning.password=$SIGNING_PASSWORD -Psigning.secretKeyRingFile=$KEYRING_PATH -PossrhUsername=$OSSRH_JIRA_USERNAME -PossrhPassword=$OSSRH_JIRA_PASSWORD
99
fi

CHANGELOG.md

Lines changed: 1 addition & 232 deletions
Original file line numberDiff line numberDiff line change
@@ -1,232 +1 @@
1-
Change Log
2-
==========
3-
4-
## Version 3.8.0
5-
6-
_2017-04-24_
7-
8-
* New: Add support for workspaces in Conversation 1b291a5
9-
* New: Update okhttp version to 3.7.0 7912344
10-
* New: Change WAV to WebM in comments in test-to-speech 4535c70
11-
* New: Add support for Customer Care API endpoint for Tone Analyzer 7a5fcfe
12-
* New: Add new audio format to text-to-speech 07a375e
13-
* New: Add new audio format to speech-to-text 1c93196
14-
* Fix: Enable cipher suites 4b51aee
15-
* Fix: Enable all TLS protocols 842383b
16-
* Fix: Use `target` in language translator Fixes #655 999f04c
17-
* Fix: Date deserialization for ISO 8601 dates with Z timezone 6c870dc
18-
* Fix: SerializedName annotation for configuration id and test dd0ec53
19-
* Fix: Fix NLU example 8c33f2b
20-
21-
22-
## Version 3.7.2
23-
24-
_2017-04-07_
25-
26-
* New: Provide a specific document Id when creating a document d581c3f
27-
* New: NLU: Add model for disambiguation and property in EntitiesResults 8acb411
28-
* New: Add test for disambiguation info 9328c5f
29-
* Fix: Discovery: create or update a document from an InputStream and optionally spec… … ab2f413
30-
* Fix: Add README.md for Natural Language Understanding 4e53c8f
31-
* Fix: 👕 Checkstyle Verified a95c68d
32-
* Fix: TTS Synthesize using POST, fixes #635 and #602 Verified 5ae0d24
33-
* Fix: Language translator, update service name Verified 37abc86
34-
35-
## Version 3.7.1
36-
37-
_2017-03-31_
38-
39-
40-
* Fix: Enable all cipher suites cf58894 74cae1b
41-
* Fix: `afterEvaluate` source for docs task 0f93ec3
42-
* Fix: Disable HTML escaping, #532 c6497ed
43-
* Fix: CheckStyle d5ccc68 9a7654b 9a7654b
44-
* Fix: Examples link in README.md 430f3a6 by @rborer
45-
46-
* Doc: Exclude tests from javadoc generation 60e80de
47-
* Doc: Update HTTP logging information #496 85e2424
48-
49-
* New: Add aggregate Javadocs plugin b6d1123
50-
* New: Add tradeoff analytics test case for #306 9f40779
51-
* New: Adds an HTTPLogging interceptor #496 620d8d9
52-
* New: Unit tests for Natural Language Understanding 5e89f3a
53-
54-
## Version 3.7.0
55-
56-
_2017-03-19_
57-
58-
* New: Added Natural Language Understanding
59-
* Fix: Text-to-Speech failed with combine of special characters, e.g Spanish + ";" bug text-to-speech #602
60-
* Fix: Alchemy Language - CombinedResults missing Emotion #545
61-
62-
63-
## Version 3.6.0
64-
65-
_2017-03-07_
66-
67-
* New: Automatic releases
68-
* Change: Update OkHttp to v3.6.0
69-
* New: Speech to Text: Add `addCorpus()` method, deprecate `addTextToCustomizationCorpus()` method
70-
* New: Speech to Text: Add `getCorpus()` method
71-
* New: Speech to Text: Add sort parameter to `getWords()` method
72-
* New: Speech to Text: Add `SupportedFeatures` for `SpeechModel` object
73-
* New: Speech to Text: Add and fix constructors for `Word` object
74-
* New: Speech to Text: Add `count` to `WordData` object
75-
* New: Speech to Text: Add `confidence` to `SpeakerLabel` object
76-
* New: Speech to Text: Add `warnings` to `RecognitionJob` object
77-
* Fix: Speech to Text: Enable `customization_id` for `recognizeUsingWebSocket()` method
78-
* Fix: Speech to Text: Fix allowOverwrite parameter of `addTextToCustomizationCorpus()` method
79-
* Fix: Speech to Text: Fix error field for `WordData` object
80-
* New: Text to Speech: Add `createCustomVoiceModel()` and `updateCustomVoiceModel()` methods, deprecate `saveCustomVoiceModel()` method
81-
* New: Text to Speech: Add `addWords()` and `addWord()` methods, deprecate `saveWords()` method
82-
* New: Text to Speech: Add `getWord()` method
83-
* New: Text to Speech: Add `getCustomVoiceModel()` method with CustomVoiceModel argument
84-
* New: Text to Speech: Add `deleteWord()` method with String argument
85-
* New: Text to Speech: Add `words` to `CustomVoiceModel` object
86-
* New: Text to Speech: Add `part_of_speech` to `CustomTranslation` object
87-
* Fix: Text to Speech: Enable customization results for `getVoice()` method
88-
* New: Tradeoff Analytics: Add findPreferableOptions parameter to `dilemmas()` method
89-
* New: Tradeoff Analytics: Add `PreferableSolutions` object to `Resolution` object
90-
* New: Tradeoff Analytics: Add `DominatingOption` object to `Solution` object
91-
92-
## Version 3.5.3
93-
94-
_2016-12-15_
95-
96-
* New: Added Discovery v1
97-
98-
## Version 3.5.2
99-
100-
_2016-12-08_
101-
102-
* New: Added Speaker Labeling (diarization) added
103-
* New: Added Conversation + Tone Analyzer example
104-
* New: Added byte array support to classify an in memory image
105-
* Fix: Text to Speech: `getPronunciation()` and `getVoice` now accept a `customizationId` parameter.
106-
107-
## Version 3.5.1
108-
109-
_2016-11-01_
110-
111-
* Fix: Remove limitation when creating a Solr cluster
112-
113-
## Version 3.5.0
114-
115-
_2016-10-19_
116-
117-
* New: Personality Insights v3
118-
* New: Speech to Text Customizations
119-
* New: Conversation version date 2016-09-19
120-
* Fix: Calling `synthesize` in Text to Speech now accepts a `rate` for PCM. #454
121-
* Fix: READMEs now point to the right maven dependency #459
122-
* Fix: AlchemyLanguage now has anchor dates for combine calls
123-
* Fix: Retrieve and Rank `topAnswer` bug #456
124-
125-
## Version 3.4.1
126-
127-
_2016-09-30_
128-
129-
* New: Add Language Translator
130-
131-
## Version 3.4.0
132-
133-
_2016-09-29_
134-
135-
The SDK 3.4.0 is the first step into moving from one maven module into a multi-module project.
136-
This change will allow users to specify the service they want to use skipping the other services.
137-
For example, in order to use Retrieve and Rank in Gradle you need:
138-
139-
```gradle
140-
'com.ibm.watson.developer_cloud:retrieve-and-rank:3.4.0'
141-
```
142-
143-
* New: Move to a maven multi-module project
144-
* Fix: Send default headers in WebSocket connections #422
145-
* Fix: Skip token creation if `skipAuthentication=true` #440
146-
147-
## Version 3.3.1
148-
149-
_2016-09-07_
150-
151-
* New: AlchemyLanguage now returns the `sourceText` in the `combined` call.
152-
* New: Add french broadband model to Speech to Text
153-
* Fix: Add extracted dates to Alchemy Language combined call #436
154-
* Fix: Speech to text example close the connection when finish the extracted dates to Alchemy Language combined call #436
155-
* Fix: removed deprecated services: Concept Insights and Relationship Extraction.
156-
* Fix: Add missing parameter in document conversation. #428
157-
* Fix: Add `smart_formatting` to Speech to Text
158-
159-
## Version 3.3.0
160-
161-
_2016-08-08_
162-
163-
* New: Tests are ignored if `config.properties` doesn't have valid credentials
164-
* New: Document Conversion can index documents directly into Retrieve and Rank
165-
* New: Visual Recognition Re-training
166-
* New: Conversation v1: `MessageRequest` now supports entities and intents
167-
* New: AlchemyLanguage `typedRelations` entities and intents
168-
* New: Speech to Text `keyword_spotting`
169-
* Fix: Remove Relationship extraction v1 Beta
170-
* Fix: Remove Tone Analyzer v3 Beta
171-
* Fix: :fire: update `version_date` for Visual Recognition to be `2016-05-20`
172-
* Fix: Remove warning when JDNI can't find credentials
173-
174-
## Version 3.2.0
175-
176-
_2016-08-02_
177-
178-
* New: Conversation v1
179-
* New: Text To Speech now supports `audio/basic`, `audio/i16` and `ogg/vorgis`
180-
* New: AlchemyLanguage now has a TypedRelation method that extract relationships and entities from text
181-
* Fix: Speech to Text now returns the voice description when calling `getVoices()`
182-
* Fix: url from `VCAP_SERVICES` take precedence over the default url
183-
* Fix: Removed Relationship Extraction v1-beta
184-
* Fix: Removed Tone Analyzer v3-beta
185-
186-
## Version 3.0.1
187-
188-
_2016-06-08_
189-
190-
The SDK 3.0.1 introduced support for react( use `rx()`).
191-
Services can now be combined using react in a synchronous or asynchronous
192-
calls and calls more efficiently.
193-
194-
* New: The `User-Agent` can be customized
195-
* New: Services added:
196-
* Visual Recognition v3
197-
* Conversation v1-experimental
198-
* Tone Analyzer v3
199-
* New: `profanity_filter` added to Speech to Text
200-
* New: Introduce reactive API calls (use `rx()`)
201-
* New: Added new voices to Speech to Text
202-
* New: `getVoice()` in Speech to Text and Text to Speech
203-
* New: `keyword_spotting` in Speech to Text
204-
* New: AlchemyLanguage now provides `typedRelations()` from Relationship Extraction
205-
* Fix: Error when running in Android and using `JDNI`
206-
* Fix: Error when loading `ContentItems` from a file in Personality Insights
207-
* Fix: Conceptual search in Concept Insights now return the `user_fields`
208-
* Fix: `Content-Type` in Speech to text when using `flac` files
209-
* Fix: Warning when calling Alchemy services regarding connections being leaked
210-
* Fix: Added missing fields in AlchemyDataNews
211-
* Fix: SSL certificate issues when running in Bluemix and using the IBM JDK
212-
213-
## Version 3.0.0-RC1
214-
215-
_2016-04-22_
216-
217-
The SDK 3.0 is designed around a new API that offers asynchronous callbacks
218-
in addition to synchronous blocking calls. It uses modern Java patterns like
219-
immutability and chained builders.
220-
221-
* New: Deprecated methods were removed
222-
* Fix: Websockets issues during a recognition using Speech to Text
223-
* New: Automatic snapshot deployments to Sonatype
224-
* New: Chained builders for Speech to text and Tradeoff Analytics
225-
226-
## Version 2.10.0
227-
228-
_2016-04-18_
229-
230-
* Fix: Switch from String to Integer in AlchemyVision face recognition
231-
* New: Enumerations for Languages in Language Translation
232-
* Fix: Error in AlchemyLanguage when language wasn't specified
1+
Moved to [https://github.com/watson-developer-cloud/java-sdk/wiki/Changelog](https://github.com/watson-developer-cloud/java-sdk/wiki/Changelog)

0 commit comments

Comments
 (0)