{"id":20682865,"url":"https://github.com/josdem/juice-webclient","last_synced_at":"2026-04-18T23:02:52.937Z","repository":{"id":142524512,"uuid":"487651248","full_name":"josdem/juice-webclient","owner":"josdem","description":"This is a library that shows how to test a third-party service using webclient","archived":false,"fork":false,"pushed_at":"2024-02-13T16:22:53.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T15:52:31.261Z","etag":null,"topics":["gradle","java","junit5","restclient","webflux"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josdem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-01T21:56:49.000Z","updated_at":"2024-10-15T00:42:05.000Z","dependencies_parsed_at":"2024-02-13T18:07:11.358Z","dependency_job_id":null,"html_url":"https://github.com/josdem/juice-webclient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josdem%2Fjuice-webclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josdem%2Fjuice-webclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josdem%2Fjuice-webclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josdem%2Fjuice-webclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josdem","download_url":"https://codeload.github.com/josdem/juice-webclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242926219,"owners_count":20207754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gradle","java","junit5","restclient","webflux"],"created_at":"2024-11-16T22:14:49.340Z","updated_at":"2026-04-18T23:02:52.843Z","avatar_url":"https://github.com/josdem.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Juice WebClient\n----------------------------------------\n\n[![Build Status](https://app.travis-ci.com/josdem/juice-webclient.svg?branch=master)](https://app.travis-ci.com/josdem/juice-webclient)\n[![Quality Gate Status](https://sonar.josdem.io/api/project_badges/measure?project=com.josdem.jugoterapia.webclient%3Ajuice-webclient\u0026metric=alert_status)](https://sonar.josdem.io/dashboard?id=com.josdem.jugoterapia.webclient%3Ajuice-webclient)\n\nThis project shows how to test an API as library using [WebClient](https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/reference/html/boot-features-webclient.html) with [Junit Jupiter](https://junit.org/junit5/docs/current/user-guide/)\n\n#### To test the project with Gradle\n\n```bash\ngradle test\n```\n\n#### To test the project with Maven\n\n```bash\nmvn test\n```\n\n### To run a single test with Gradle\n\n```bash\ngradle test --tests ${testName}\n```\n\n### To run a single test with Maven\n\n```bash\nmvn test -Dtest=${testName}\n```\n\nwhere:\n\n- `${testName}` is the test name you want to execute\n\n### To publish library to artifactory using Gradle\n\n```bash\nexport ARTIFACTORY_USER=${username}\nexport ARTIFACTORY_PASSWORD=${password}\ngradle publish\n```\n\nwhere:\n\n- `${username}` Is artifactory username\n- `${password}` Is artifactory password\n\n#### To run tests with Jacoco and Sonarqube\n\n```bash\ngradle jacocoTestReport sonarqube test\n```\n\n### To publish library to artifactory using Maven\n\n```bash\nmvn deploy\n```\n\nMake sure you setup your artifactory credentials in `${USER_HOME}/.m2/settings.xml`\n\n```xml\n\u003csettings\u003e\n  \u003cservers\u003e\n    \u003cserver\u003e\n      \u003cid\u003eartifactory\u003c/id\u003e\n      \u003cusername\u003eusername\u003c/username\u003e\n      \u003cpassword\u003epassword\u003c/password\u003e\n    \u003c/server\u003e\n  \u003c/servers\u003e\n\u003c/settings\u003e\n```\n\n**Note:** If you want to learn more and publish your own library, feel free to drop me a message on my home page website and ask for a Jfrog credentials.\n\n#### For more information:\n\nVisit our wiki page: [Wiki page](https://github.com/josdem/juice-webclient/wiki)\n\n#### Read this as reference:\n\n* https://josdem.io/techtalk/spring/spring_boot_webclient/\n* https://josdem.io/techtalk/spring/spring_webflux_client/\n* https://josdem.io/techtalk/spring/spring_webflux_artifactory_library/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosdem%2Fjuice-webclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosdem%2Fjuice-webclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosdem%2Fjuice-webclient/lists"}