-
Notifications
You must be signed in to change notification settings - Fork 25
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
[ISSUE-1254] Move domain APIs (contacts, calendar, firebase, etc) from jmap-extensions to jmap-extensions-api #1339
[ISSUE-1254] Move domain APIs (contacts, calendar, firebase, etc) from jmap-extensions to jmap-extensions-api #1339
Conversation
tmail-backend/integration-tests/jmap/jmap-integration-tests-common/pom.xml
Outdated
Show resolved
Hide resolved
tmail-backend/integration-tests/webadmin/webadmin-integration-tests-common/pom.xml
Outdated
Show resolved
Hide resolved
7b332e4
to
44766f8
Compare
...test/scala/com/linagora/tmail/james/jmap/json/EmailAddressContactMessageSerializerTest.scala
Outdated
Show resolved
Hide resolved
It is hard to tell in which layer this class belong. It extends JmapChange so it is clearly an implementation and Jmap-specific but is also referenced in multiple places from models on Lines 30 to 34 in e4c6a99
I have two ideas, but can't decide which one is better:
|
Let's look at how it was solved james side. Mailbox change is part of the API. |
881c63e
to
7a5c52a
Compare
Please rebase |
...c/main/scala/com/linagora/tmail/james/common/LinagoraContactAutocompleteMethodContract.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.
tmail-backend/jmap/extensions-api/src/main/scala/com/linagora/tmail/james/jmap/contact/EmailAddressContactEventModule.scala guice stuff is not API stuff.
Maybe it can move back?
...l-backend/jmap/extensions-api/src/main/scala/com/linagora/tmail/james/jmap/model/Label.scala
Outdated
Show resolved
Hide resolved
b3ceb8a
to
80685d6
Compare
...ons/src/test/scala/com/linagora/tmail/james/jmap/label/MemoryLabelChangeRepositoryTest.scala
Show resolved
Hide resolved
...pi/src/test/scala/com/linagora/tmail/james/jmap/publicAsset/PublicAssetServiceContract.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.
Almost there!
[ERROR] Failed to execute goal io.github.evis:scalafix-maven-plugin_2.13:0.1.6_0.9.34:scalafix (scala-check-style) on project jmap-extensions-api: Scalafix invoked with errors. Check logs for details. -> [Help 1] |
...sts-common/src/main/scala/com/linagora/tmail/james/common/PublicAssetSetMethodContract.scala
Outdated
Show resolved
Hide resolved
...ap/extensions/src/main/scala/com/linagora/tmail/james/jmap/label/LabelChangeRepository.scala
Show resolved
Hide resolved
...end/jmap/extensions/src/main/scala/com/linagora/tmail/james/jmap/label/LabelRepository.scala
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.
Again, one step closer!
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.
We can IMO merge this now.
511ff23
to
a13ee91
Compare
…objects - Use custom SetError object in JsonValidationError if any
a13ee91
to
2b9ef71
Compare
Closes #1254
Refactoring Guidelines
TODO
jmap-extensions-api
unnecessary