GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — V8 rc1 by lpatino10 · Pull Request #1082 · watson-developer-cloud/java-sdk

Conversation

@lpatino10

@lpatino10 lpatino10 commented Aug 28, 2019

Copy link
Copy Markdown
Contributor

This PR generates everything fresh for the v8.0.0 pre-release. This is using the following commits:

API def: 9ee9439cbe050c75137dc0d3ea9db03633cd505c
Generator: c3d3873bf9046b43710702c216646be9af736ac8

Most changes are related to authorization config changes and the addition of builders on all of the request models that were missing them previously. All documentation has been updated to reflect big user-facing changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
lpatino10 added 26 commits August 27, 2019 15:51
@lpatino10
ci: Fix reference to script to generate Javadoc index file
9f21323
@lpatino10
feat: Regenerate all services other than Assistant v1
c44118e
@lpatino10
feat(Assistant v1): Regenerate service
ccbd5da
@lpatino10
test(Assistant): Update tests
179ed46
@lpatino10
test(Compare and Comply): Update tests
55e7e06
@lpatino10
refactor(Discovery): Clean up custom QueryAggregation deserializer
d5fb5f2
@lpatino10
chore(Discovery): Apply manual changes
4bc3d07
@lpatino10
test(Discovery): Update tests
6409d5f
@lpatino10
chore(Language Translator): Fix generator template error
853e3c7
@lpatino10
test(Language Translator): Update tests
b982379
@lpatino10
test(Natural Language Classifier): Update tests
b33ce86
@lpatino10
test(Natural Language Understanding): Update tests
59a7d94
@lpatino10
test(Personality Insights): Update tests
845120a
@lpatino10
chore(Speech to Text): Apply manual changes
a162667
@lpatino10
test(Speech to Text): Update tests
a29afe9
@lpatino10
test: Use interface when creating authenticators
e2dae74
@lpatino10
chore(Text to Speech): Apply manual changes
7b7b138
@lpatino10
test(Text to Speech): Update tests
873369f
@lpatino10
test(Tone Analyzer): Update tests
1db8776
@lpatino10
test(Visual Recognition): Update tests
79dfdf1
@lpatino10
build: Update core dependency
1e33378
@lpatino10
style: Address checkstyle complaints
5a70ef6
@lpatino10
docs: Update all READMEs with auth changes and new core features
fe142ed
@lpatino10
docs: Update examples to use new library
fe98920
@lpatino10
build: Update version numbers
c5c9f5a
@lpatino10
ci: Disable semantic-release for release candidate
8d9c314
@lpatino10
lpatino10 requested a review from mediumTaj August 28, 2019 20:38
@lpatino10 lpatino10 added ready for review v8.0.0 labels Aug 28, 2019
@lpatino10

lpatino10 commented Aug 28, 2019

Copy link
Copy Markdown
Contributor Author

Taj, just a note: I went ahead and disabled semantic-release on CI for this. I wasn't too sure how it and bumpversion would handle the new version syntax. I'll push a tag manually once this is merged to kick off the release process with Bintray.

mediumTaj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov-io

codecov-io commented Aug 28, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #1082 into 8.0.0-rc will decrease coverage by 4.24%.
The diff coverage is 47.91%.

Impacted file tree graph

@@              Coverage Diff               @@
##             8.0.0-rc    #1082      +/-   ##
==============================================
- Coverage       69.77%   65.53%   -4.25%     
+ Complexity       3190     3002     -188     
==============================================
  Files             650      652       +2     
  Lines           15588    17099    +1511     
  Branches          903      934      +31     
==============================================
+ Hits            10877    11205     +328     
- Misses           4323     5528    +1205     
+ Partials          388      366      -22
Impacted Files Coverage Δ Complexity Δ
...ery/v1/model/GetMetricsQueryTokenEventOptions.java 69.23% <ø> (ø) 2 <0> (ø) ⬇️
...java/com/ibm/watson/discovery/v1/model/Filter.java 100% <ø> (ø) 2 <0> (ø) ⬇️
...ibm/watson/discovery/v1/model/QueryLogOptions.java 73.68% <ø> (ø) 6 <0> (ø) ⬇️
...on/discovery/v1/model/ListTrainingDataOptions.java 54.16% <ø> (ø) 3 <0> (ø) ⬇️
...com/ibm/watson/discovery/v1/model/GatewayList.java 100% <ø> (ø) 2 <0> (ø) ⬇️
...son/discovery/v1/model/GetTrainingDataOptions.java 54.83% <ø> (ø) 4 <0> (ø) ⬇️
...atson/discovery/v1/model/QueryEntitiesContext.java 0% <ø> (ø) 0 <0> (ø) ⬇️
.../watson/assistant/v2/model/DialogNodesVisited.java 100% <ø> (ø) 4 <0> (ø) ⬇️
...n/discovery/v1/model/ListEnvironmentsResponse.java 100% <ø> (ø) 2 <0> (ø) ⬇️
...iscovery/v1/model/DeleteConfigurationResponse.java 100% <ø> (ø) 4 <0> (ø) ⬇️
... and 475 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31a23f4...b667b16. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mediumTaj
mediumTaj approved these changes Aug 29, 2019
View reviewed changes

@mediumTaj mediumTaj left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good! I just had a few questions but approving since nothing particularly important.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread README.md
```

#### ICP
#### Cloud Pak for Data

@mediumTaj mediumTaj Aug 28, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this I wonder if we need to keep an example for ICP authentication. This would be using BasicAuthenticator and disabling ssl verification. What do you think?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lpatino10 lpatino10 Aug 29, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that might be worth it. I don't know the numbers on people using the SDKs on ICP but it's probably similar to CP4D so it can't hurt 🤷‍♀

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mediumTaj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread assistant/src/main/java/com/ibm/watson/assistant/v1/model/DeleteIntentOptions.java
private DeleteIntentOptions(Builder builder) {
Validator.notEmpty(builder.workspaceId, "workspaceId cannot be empty");
Validator.notEmpty(builder.intent, "intent cannot be empty");
com.ibm.cloud.sdk.core.util.Validator.notEmpty(builder.workspaceId,

@mediumTaj mediumTaj Aug 28, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason why you changed to use the full namespace for Validator?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lpatino10 lpatino10 Aug 29, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this started in this issue, which then became this PR.

There was some discussion in there that some internally-used classes like Validator should be fully-qualified for future-proofing against any possible conflicts with generated code. This specific change was added (among other things) here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mediumTaj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/Class.java Outdated
@@ -21,16 +21,16 @@
public class Class extends GenericModel {

@SerializedName("class")
private String className;
private String xclass;

@mediumTaj mediumTaj Aug 28, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a java naming convention?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lpatino10 lpatino10 Aug 29, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really... I wasn't too sure about what to do with the reserved names and there's no set Java convention.

I think it'll be better at least to just keep the x and camelCase the name. I'll make that change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mediumTaj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread visual-recognition/build.gradle
@@ -64,7 +64,7 @@ checkstyle {
dependencies {
compile project(':common')
testCompile project(':common').sourceSets.test.output
compile 'com.ibm.cloud:sdk-core:4.5.0'
compile 'com.ibm.cloud:sdk-core:7.0.0-rc1'

@mediumTaj mediumTaj Aug 28, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the core jump from 4.x.x to 7.x.x?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lpatino10 lpatino10 Aug 29, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surprisingly, yes 😬

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mediumTaj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
lpatino10 added 2 commits August 29, 2019 09:26
@lpatino10
refactor: Use better naming for reserved word vars
7efb5b8
@lpatino10
docs(README): Add snippet about ICP auth
b667b16
@lpatino10
lpatino10 merged commit 53ea7db into 8.0.0-rc Aug 29, 2019
@lpatino10
lpatino10 deleted the v8-rc1 branch August 29, 2019 17:01
@watson-github-bot

watson-github-bot commented Oct 4, 2019

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 8.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@watson-github-bot watson-github-bot added the released label Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@mediumTaj mediumTaj mediumTaj approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

ready for review released v8.0.0

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@lpatino10 @codecov-io @watson-github-bot @mediumTaj
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.