Skip to content

fix(Global Catalog): regen service and add examples#78

Merged
padamstx merged 3 commits intomainfrom
gc-examples
Feb 18, 2021
Merged

fix(Global Catalog): regen service and add examples#78
padamstx merged 3 commits intomainfrom
gc-examples

Conversation

@padamstx
Copy link
Copy Markdown
Contributor

PR summary

This PR contains a regen of the Global Catalog service and adds working examples to the project.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Response<InputStream> response = service.getArtifact(getArtifactOptions).execute();
InputStream inputStream = response.getResult();
if (inputStream != null) {
String artifactContents = IOUtils.toString(inputStream, StandardCharsets.UTF_8);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@pyrooka You might want to use this technique in the case-mgmt examples where you need to read the bytes from the stream returned as a response.

@padamstx padamstx requested a review from pyrooka February 18, 2021 14:36
Copy link
Copy Markdown
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

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

LGTM

@padamstx padamstx merged commit ef3eecc into main Feb 18, 2021
@padamstx padamstx deleted the gc-examples branch February 18, 2021 22:31
ibm-devx-automation pushed a commit that referenced this pull request Feb 18, 2021
## [0.17.10](0.17.9...0.17.10) (2021-02-18)

### Bug Fixes

* **Global Catalog:** regen service and add examples ([#78](#78)) ([ef3eecc](ef3eecc))
@ibm-devx-automation
Copy link
Copy Markdown

🎉 This PR is included in version 0.17.10 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

JonahFarc pushed a commit to JonahFarc/platform-services-java-sdk that referenced this pull request Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants