Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{REFACTOR} Refactored API and service-layer classes #68

Merged
merged 21 commits into from
Jul 30, 2024

Conversation

justJavaProgrammer
Copy link
Contributor

Refactored API by changing:

  • changed PUT /plaver/device/connect - to POST /player/devices
  • changed PUT /player/device/switch to PUT /player/device

Moved creation of Command classes from controller to HandlerMethodArgumentResolver(s).

Moved methods that used to manipulate with player from entity to domain model(CurrentPlayerState).

…ontroller to TransferPlaybackDevicesResolver
…ack from controller to SwitchDeviceCommandArgsResolver
…yback from controller to TargetDeactivationDevicesResolver. Renamed test class to SwitchDevicesEndpointTest
…ntroller to AvailableDevicesResponseDtoConverter
…method from PUT to POST, changed URI to /player/devices instead of /player/device/connect
… /player/devices instead of /player/device/switch
…I to /player/devices instead of /player/device
…oring of parts where PlayCommandContext#contextUri have been used
…hods to play resume playback in CurrentPlayerState
@justJavaProgrammer justJavaProgrammer added the enhancement New feature or request label Jul 30, 2024
@justJavaProgrammer justJavaProgrammer self-assigned this Jul 30, 2024
@justJavaProgrammer justJavaProgrammer merged commit 59f8d48 into master Jul 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant