Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2818

[Webadmin] corresponding routes for JMX LISTMAPPINGS command

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None

      Description

      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:

      {
       "source1@address.domain": ["destination11@address.domain1", "destination12@address1.domain"],
       "source2@address.otherDomain": ["destination1@address.otherDomain", "destination12@address1.otherDomain1"],
       ...
      }

      write test MappingRoutesTest for the route

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trantienduchn Trần Tiến Đức
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: