concept publisher in category java

appears as: publishers, publisher
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.

Table 2.4. Game table (view table figure)

Field

Data type

Description

id Long Game identifier.
version Int Internal field for avoiding conflicts in optimistic locking.
title String Name of the game. This value is unique.
cover String URL of the cover of the game, or null if no cover.
Release dates ReleaseDate One-to-many relationship of type ReleaseDate.
Publishers Collection of Strings One-to-many relationship between publishers and the name of the game.
Developer Collection of Strings One-to-many relationship between developers and the name of the game.
Table 2.5. ReleaseDate table (view table figure)

Field

Data type

Description

OwnerId Long Identifier for the game. This field acts as a foreign key.
platformName String Platform name under which game was released.
releaseDate String Date when the game was released for this platform, in YYYY/MM/DD format.
Table 2.6. Publisher table (view table figure)

Field

Data type

Description

OwnerId Long Identifier for the game. This field acts as a foreign key.
publisherName String Publisher name.
  • Publishers—On the consumer side, you can configure it to publish contracts into a specified repository if they’re successfully generated. Currently supported publishers are folder, URL, Git server, and Pact Broker, but you can create your own as well.