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

Create domain mappings via webadmin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • None
    • webadmin

    Description

      Nowadays, the Rewrite Table engine supports domain redirections. That is to say any@domain.com will be rewritten as any@otherDomain.com.

      However, such a feature is not exposed via webadmin.

      You will need to :

      • Create a new *DomainMappingsRoutes* in webadmin-data
      • You will expose in this routes, using directly RecipientsRewriteTable, the endpoitns for adding, removing and listing domain mappings.
      GET /domainMappings/
      {"fromDomain1":"toDomain1", "fromDomain2": "toDomain2"}
      
      PUT /domainMappings/fromDomain
      "toDomain"
      
      DELETE /domainMappings/fromDomain
      "toDomain"
      

      You will write a test class from your endpoints. See GroupsRoutesTest.

      Don't hesitate to ask for help on the Gitter chat.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: