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

[Webadmin] corresponding routes for JMX LISTMAPPINGS command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: