[
https://issues.apache.org/jira/browse/JAMES-2818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884890#comment-16884890
]
Trần Tiến Đức commented on JAMES-2818:
--------------------------------------
{code:java}
{
"[email protected]": [
{
"type": "alias",
"mapping": "[email protected]"
},
{
"type": "alias",
"mapping": "[email protected]"
}
],
"[email protected]": [
{
"type": "alias",
"mapping": "[email protected]"
},
{
"type": "alias",
"mapping": "[email protected]"
}
]
}
{code}
the json body updated
> [Webadmin] corresponding routes for JMX LISTMAPPINGS command
> ------------------------------------------------------------
>
> Key: JAMES-2818
> URL: https://issues.apache.org/jira/browse/JAMES-2818
> Project: James Server
> Issue Type: Improvement
> Reporter: Trần Tiến Đức
> Priority: Major
>
> You have to create a new route called MappingRoutes, define an API for list
> all existing mappings
> Request:
> HTTP GET /mappings
> Response:
> in case of no error, return 200 status code with body:
> {code:java}
> {
> "[email protected]": ["[email protected]",
> "[email protected]"],
> "[email protected]": ["[email protected]",
> "[email protected]"],
> ...
> }{code}
> write test MappingRoutesTest for the route
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]