The discovery web controller #97

Closed
opened 2021-12-04 13:06:16 +00:00 by reynisson · 0 comments
reynisson commented 2021-12-04 13:06:16 +00:00 (Migrated from github.com)
  • Create a DiscoveryWebController that has a GET mapping on endpoint /discovery/
    • Create a domain object AuctionHouseDiscoveryInformation based on the schema here https://github.com/macemoth/tapasstandards/blob/main/json_schemas/auctionhousediscovery.schema.json
    • Also create a AuctionHouseDiscoveryJsonRepresentation based on the same schema that can serialise the domain object (just like AuctionJsonRepresentation and Auction). Media type = "application/auctionhousediscovery+json"
    • Create a Use Case and a Command for getting the AuctionHouseDiscoveryInformation from the domain, and just have the use case return an empty list of AuctionHouseDiscoveryInformation. Marcel will then implement the logic to fetch the list.
    • Return the serialised list from the use case along with the necessary headers and a status code 200 from the web controller
- [x] Create a DiscoveryWebController that has a GET mapping on endpoint /discovery/ - [x] Create a domain object AuctionHouseDiscoveryInformation based on the schema here https://github.com/macemoth/tapasstandards/blob/main/json_schemas/auctionhousediscovery.schema.json - [x] Also create a AuctionHouseDiscoveryJsonRepresentation based on the same schema that can serialise the domain object (just like AuctionJsonRepresentation and Auction). Media type = "application/auctionhousediscovery+json" - [x] Create a Use Case and a Command for getting the AuctionHouseDiscoveryInformation from the domain, and just have the use case return an empty list of AuctionHouseDiscoveryInformation. Marcel will then implement the logic to fetch the list. - [x] Return the serialised list from the use case along with the necessary headers and a status code 200 from the web controller
Sign in to join this conversation.
No description provided.