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(IIIFService): zio-fying iiif service (DEV-801) #2044
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM although I can't really contribute anything regarding ZIO, just added some minor stuff (typos, questions).
webapi/src/main/scala/org/knora/webapi/store/StoreManager.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testcontainers/SipiTestContainer.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good and seems a big improvement, thanks!
I added some smaller remarks that you may want to consider.
Finally, I'm not sure why ValuesResponderV2Spec.scala
does what it should. (See my comment there.) Please have a look at that.
webapi/src/main/scala/org/knora/webapi/store/iiif/impl/IIIFServiceSipiImpl.scala
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/store/iiif/impl/IIIFServiceMockSipiImpl.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/store/iiif/impl/IIIFServiceMockSipiImpl.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/store/iiif/impl/IIIFServiceMockSipiImpl.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Show resolved
Hide resolved
Co-authored-by: irinaschubert <irina.schubert@dasch.swiss>
…Container.scala Co-authored-by: irinaschubert <irina.schubert@dasch.swiss>
…Service.scala Co-authored-by: irinaschubert <irina.schubert@dasch.swiss>
…Service.scala Co-authored-by: irinaschubert <irina.schubert@dasch.swiss>
…Service.scala Co-authored-by: irinaschubert <irina.schubert@dasch.swiss>
…Service.scala Co-authored-by: irinaschubert <irina.schubert@dasch.swiss>
…-swiss/knora-api into wip/DEV-801-zio-fying-iiif-service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not everything is clear for me in this PR but found some issues related to code readability.
webapi/src/main/scala/org/knora/webapi/store/iiif/IIIFServiceManager.scala
Outdated
Show resolved
Hide resolved
webapi/src/main/scala/org/knora/webapi/store/iiif/domain/SipiKnoraJsonResponse.scala
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/responders/v1/ResourcesResponderV1Spec.scala
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/testservices/TestClientService.scala
Outdated
Show resolved
Hide resolved
…anager.scala Co-authored-by: Marcin Procyk <marcin.procyk@dasch.swiss>
…-swiss/dsp-api into wip/DEV-801-zio-fying-iiif-service
Kudos, SonarCloud Quality Gate passed!
|
Resolves DEV-801
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information