DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Accurest Becomes Part of the Spring Cloud Contract

Accurest Becomes Part of the Spring Cloud Contract

I’m extremely happy to announce that we have successfully rebranded the Accurest project. It’s officially become part of the Spring Cloud Contract initiative.

Marcin Grzejszczak user avatar by
Marcin Grzejszczak
·
Jun. 28, 16 · Java Zone · News
Like (5)
Save
Tweet
3.10K Views

Join the DZone community and get the full member experience.

Join For Free

I’m extremely happy to announce that we have successfully rebranded the Accurest project. It’s officially become part of the Spring Cloud Contract initiative. Ladies and Gentlemen please welcome the new projects:

  • Spring Cloud Contract Verifier
  • Spring Cloud Contract Stub Runner

A Little Bit of History

Accurest was created because of the lack of an easy-to-use tool for doing Consumer Driven Contracts. From our production experience, the biggest problem was the lack of verification that the defined contract actually does what it says it does. We wanted to ensure that tests are automatically generated from the contract so that we can have a proof that the stubs are reliable. Since there was no such tool, the first commit of Accurest took place on 12/2014. This idea and its implementation was initially set by Jakub Kubrynski and me. The last available version of Accurest was 1.1.0 released on 06/2016 (the docs for the old version are available here). During these 19 months, a lot of feedback has been gathered. The tool has received very good reception, and that made us want to work even harder. Many times we have missed out on good sleep, so as to fix a bug or develop a new feature in Accurest... it's been hard but rewarding work!

Notable Features

Speaking of features, there are quite a few of them that definitely make Accurest stand out on the “market” of Consumer Driven Contract (CDC) tooling. Out of many, the most interesting are:

  • Possibility to do CDC with messaging
  • Clear and easy to use, statically typed DSL
  • Possibility to copy-paste your current JSON file to the contract and only edit its elements
  • Automatic generation of tests from the defined Contract
  • Stub Runner functionality - the stubs are automatically downloaded at runtime from Nexus / Artifactory
  • Spring Cloud integration - no discovery service is needed for integration tests

For more information check out my posts about Stub Runner, Accurest Messaging, or just read the docs.

Spring Cloud Contract

In Pivotal, we came to the conclusion that Accurest could become an interesting addition to our Spring Cloud tooling. Due to the increased interest of the community in the Consumer Driven Contracts approach, we’ve decided to start the Spring Cloud Contract initiative.

Accurest became Spring Cloud Contract Verifier (note: the name might change in the future) but, for the time being, we will remain in the Codearte repository. It’s becoming the part of Spring Cloud tooling as a mature tool with a growing community around it. Some arguments for that are that it has:

  • a nice AsciiDoc documentation that was completely rewritten following users' feedback
  • active Gitter channel where we try to immediately answer any support questions
  • Over 80 stars on Github and counting ;)

Since we believe very much in the Consumer Driven Contract approach, we also want to do the library in a Client Driven way. That means that we (server side) are very open to your feedback (consumer side) and want you to be the main driver of changes in the library.

Credits

The Accurest project would never have come to life without the hard work of the Codearte developers (the order is random):

  • Olga Maciaszek-Sharma
  • Jakub Kubrynski
  • Marcin Zajaczkowski
  • Mariusz Smykula

And obviously, we have to thank everybody who has ever committed to the project.

Spring Cloud Spring Framework

Published at DZone with permission of Marcin Grzejszczak, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Right Way to Hybridize Your Product Development Technique
  • Demystify the Cybersecurity Risk Management Process
  • How to Integrate Zoom in React Application?
  • Modern REST API Design Principles and Rules

Comments

Java Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo