Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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}/addNewHardwarePlatformaddNewHardwarePlatform 


AddHardwarePlatformToGamingEnvironmentCommand (1)

gamingEnvironmentId,
hardwarePlatformId









Aggregate root: HardwarePlatform

URL

query parameters

command name

ID-parameters

real parameters

description

/hardwarePlatforms/create


CreateHardwarePlatformCreateHardwarePlatformCommand (1)

new hardwarePlatformId

String workingTitle


/hardwarePlatforms/{ID}/addNewHardwareModelgamingEnvironmentId ??

AddHardwareModelToHardwarePlatformCommand (2)

gamingEnvironmentId ??,
hardwarePlatformId,
hardwareModelId



Aggregate root: HardwareModel

URL

command name

ID-parameters

real parameters

description

/hardwareModels/create

CreateHardwareModelCreateHardwareModelCommand (2)

new gamingEnvironmentIdhardwareModelId

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