concept retriever in category java

appears as: Retrievers, retriever
Testing Java Microservices: Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito

This is an excerpt from Manning's book Testing Java Microservices: Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito.

Next, we’ll look at how to configure retrievers in arquillian.xml. Registering a retriever in arquillian.xml uses the same approach as registering a publisher. The same retrievers mentioned in section 6.2.3, which can be used as annotations, are supported here.

Here’s how to configure a retriever to get contracts from a Git repository:

<extension qualifier="algeron-provider">
  <property name="retrieverConfiguration">
    provider: git
    url: ${env.giturl}
    username: ${env.gitusername}
    password: ${env.gitpassword}
  </property>
</extension>

The format is similar to that for providers. Obviously, the property name and extension name are different, because retrievers are an important part of the provider side.