Skip to content
forked from paypal/mocca

Mocca is a GraphQL client for JVM languages with the goal of being easy to use, flexible and modular.

License

Notifications You must be signed in to change notification settings

jamesmartinpp/mocca

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Maven Central License: MIT




Mocca

Mocca is a GraphQL client for JVM languages with the goal of being easy to use, flexible and modular. With that in mind, Mocca was designed to offer:

  1. Simple and intuitive API
  2. Good end user documentation
  3. Pluggable HTTP clients
  4. Pluggable components, relying on great open source libraries, allowing features such as code generation, resilience, parsers and observability

Features

Mocca offers support for:

  1. GraphQL features
    1. GraphQL queries and mutations
    2. Automatic variable definition based on DTO request type
    3. Automatic selection set definition based on DTO response type
    4. Annotation and String based custom input variables
    5. Annotation and String based custom selection set
  2. Static and dynamic HTTP request headers
  3. Observability via Micrometer
  4. Resilience with via Resilience4J
  5. Flexible API allowing various pluggable HTTP clients
  6. Asynchronous support
    1. CompletableFuture
    2. Pluggable asynchronous HTTP clients
    3. User provided executor services

Quick start

Please read the Quick Start section in Mocca documentation for instructions on how to start using Mocca quickly.

End-user documentation

Please refer to Mocca documentation.

Release notes

See Mocca release notes.

Reporting an issue

Please open an issue using our GitHub issues page.

Contributing

You are very welcome to contribute to Mocca! Read our Contribution guidelines.

License

This project is licensed under the MIT License.

About

Mocca is a GraphQL client for JVM languages with the goal of being easy to use, flexible and modular.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%