IT-REX-Platform / media_service

MIT License
0 stars 0 forks source link

Media service skeleton #1

Closed LG1401 closed 1 year ago

LG1401 commented 1 year ago

Description

Create a basic skeleton service for the media service.

Acceptance Criteria

myluki2000 commented 1 year ago

Description of changes

I have now completed the basic implementation skeleton of the media service. There is no linked pull request because the repo was newly created and all work was pushed directly to the master branch. All further changes after this issue is marked as done should be handled using pull requests.

The media service now includes a running setup of the service which provides a graphql endpoint as described in the schema file. Some slight modifications from the schema file provided as a "master schema" of the system have been made. Some of these have already been discussed with other team members and the schemas will be harmonized soon.

How has this been tested?

Please describe the test strategy you followed.

In case of manual test, please document the test well including a set of user instructions and prerequisites. Each including an action, it's result, and where appropriate a screenshot.

Checklist before requesting a review

Checklist for reviewer

myluki2000 commented 1 year ago

@ZombieAlienRobot can you review this please? (or someone else)

ZombieAlienRobot commented 1 year ago

One thing I would change, is to rename the mediaRecords(Line 31) and mediaRecordsById(Line 36) in the MediaController to getMediaRecords and getMediaRecordsById, for better clarity. In fact it is required that methods should start with a verb, acording to the coding guideline l. Other than that everything is fine @myluki2000

myluki2000 commented 1 year ago

One thing I would change, is to rename the mediaRecords(Line 31) and mediaRecordsById(Line 36) in the MediaController to getMediaRecords and getMediaRecordsById

Shouldn't they have the same name as the names of the graphql queries?

ZombieAlienRobot commented 1 year ago

Yeah, you're right. Then it's fine and this issue can be closed. @LG1401