GamingEnvironments: Commands

Aggregate root: GamingEnvironment

URL

query parameters

command name

ID-parameters

real parameters

description

/gamingEnvironments/create


CreateGamingEnvironmentCommand

new gamingEnvironmentId

String workingTitle


/gamingEnvironments/{ID}/addYearOfFirstRelease


AddYearOfFirstReleaseCommand

gamingEnvironmentId

Year yearOfFirstRelease


/gamingEnvironments/{ID}/changeYearOfFirstRelease


ChangeYearOfFirstReleaseCommand

gamingEnvironmentId

Year yearOfFirstRelease


/gamingEnvironments/{ID}/addNewHardwarePlatform 


AddHardwarePlatformToGamingEnvironmentCommand (1)

gamingEnvironmentId,
hardwarePlatformId









Aggregate root: HardwarePlatform

URL

query parameters

command name

ID-parameters

real parameters

description

/hardwarePlatforms/create


CreateHardwarePlatformCommand (1)

new hardwarePlatformId

String workingTitle


/hardwarePlatforms/{ID}/addNewHardwareModelnextURL, finishURL

AddHardwareModelToHardwarePlatformCommand (2)

hardwarePlatformId,
hardwareModelId



Aggregate root: HardwareModel

URL

query parameters

command name

ID-parameters

real parameters

description

/hardwareModels/create

nextURL, finishURL

CreateHardwareModelCommand (2)

new hardwareModelId

String workingTitle








* Commands that are always used in conjunction with each other

Use case

Command 1

Command 2

description

(1)

CreateHardwarePlatformCommand

AddHardwarePlatformToGamingEnvironmentCommand

  1. New HardwarePlatform is created
  2. The new HardwarePlatform is added to existing GamingEnvironment
(2)CreateHardwareModelCommandAddHardwareModelToHardwarePlatformCommand
  1. New HardwareModel is created
  2. The new HardwareModel is added to existing HardwarePlatform