The discovery web controller #97

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
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?