Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include code instructions need some style fixes #32

Closed
3 of 5 tasks
evelinec opened this issue Aug 13, 2018 · 3 comments
Closed
3 of 5 tasks

Include code instructions need some style fixes #32

evelinec opened this issue Aug 13, 2018 · 3 comments
Assignees
Labels

Comments

@evelinec
Copy link
Contributor

evelinec commented Aug 13, 2018

  • Write a simple Consumer class that consumes the artist JSON using both JSON-B and JSON-P.

src/main/java/io/openliberty/guides/consumingrest/Consumer.java:

  • Add a method that uses JSON-B to consume the REST service in the Consumer class:

src/main/java/io/openliberty/guides/consumingrest/Consumer.java:

  • Add a method for consuming the REST service using JSON-P in the Consumer class:

src/main/java/io/openliberty/guides/consumingrest/Consumer.java:

  • Now that you can consume a JSON resource you can put that data to use. Copy the ArtistResource class below and replace the ArtistResource class in the start directory.

src/main/java/io/openliberty/guides/consumingrest/service/ArtistResource.java:

  • Create a test class, src/test/java/it/io/openliberty/guides/consumingrest/ConsumingRestTest.java.
@evelinec
Copy link
Contributor Author

Follow the "Listing blocks" style in the structure and style guideline: https://github.com/OpenLiberty/draft-guides-template/wiki/Guidelines-for-Structure-and-Styles

@evelinec
Copy link
Contributor Author

Verified 3/5 points in #28

@evelinec
Copy link
Contributor Author

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants