[
https://issues.apache.org/jira/browse/JAMES-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rémi Kowalski updated JAMES-3371:
---------------------------------
Description:
Simple implementation without filters/sorting/pagination
h2. Why
{quote}With the new specification, I should be able to list my emails:
[[ "Email/query",
{ "accountId": "ue150411c" }
, "0" ]]
{quote}
Should return :
{quote}
[[ "Email/query",
{ "accountId": "ue150411c", "queryState": "09aa9a075588-780599:0",
"canCalculateChanges": false, "position": 0, "ids": [
"Ma783e5cdf5f2deffbc97930a", "M9bd17497e2a99cb345fc1d0a", ... ] }
, "0" ]]
{quote}
h2. HOW
# Implement a method for Email/query
# Write dedicated integration tests for it.
h2. NOTE
Even without sorting the order of the elements should be stable between two
calls to the method.
The default sorting order will be the default used by james i.e by ascending
order of message uids
h2. DOD
Write memory integration tests for Email/query
was:
Simple implementation without filters/sorting/pagination
### Why
With the new specification, I should be able to list my emails:
```
[[ "Email/query",{
"accountId": "ue150411c"
}, "0" ]]
```
Should return :
```
[[ "Email/query", {
"accountId": "ue150411c",
"queryState": "09aa9a075588-780599:0",
"canCalculateChanges": false,
"position": 0,
"ids": [ "Ma783e5cdf5f2deffbc97930a",
"M9bd17497e2a99cb345fc1d0a", ... ]
}, "0" ]]
```
### HOW
1. Implement a method for Email/query
2. Write dedicated integration tests for it.
### Notes
Even without sorting the order of the elements should be stable between two
calls to the method.
The default sorting order will be the default used by james i.e by ascending
order of message uids
### DOD
Write memory integration tests for Email/query
> JMAP Email/query Allow listing email
> ------------------------------------
>
> Key: JAMES-3371
> URL: https://issues.apache.org/jira/browse/JAMES-3371
> Project: James Server
> Issue Type: New Feature
> Components: JMAP
> Affects Versions: 3.6.0
> Reporter: Rémi Kowalski
> Assignee: Antoine Duprat
> Priority: Major
>
> Simple implementation without filters/sorting/pagination
> h2. Why
> {quote}With the new specification, I should be able to list my emails:
> [[ "Email/query",
> { "accountId": "ue150411c" }
> , "0" ]]
> {quote}
> Should return :
> {quote}
> [[ "Email/query",
> { "accountId": "ue150411c", "queryState": "09aa9a075588-780599:0",
> "canCalculateChanges": false, "position": 0, "ids": [
> "Ma783e5cdf5f2deffbc97930a", "M9bd17497e2a99cb345fc1d0a", ... ] }
> , "0" ]]
> {quote}
> h2. HOW
> # Implement a method for Email/query
> # Write dedicated integration tests for it.
> h2. NOTE
> Even without sorting the order of the elements should be stable between two
> calls to the method.
> The default sorting order will be the default used by james i.e by ascending
> order of message uids
> h2. DOD
> Write memory integration tests for Email/query
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]