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

Webadmin CRUD for mail repositories

    XMLWordPrintableJSON

Details

    Description

      We need an API for viewing/clearing mail repositories. Reprocessing will be handled separately.

      • Here are the proposed endpoints:
      GET /mailRepositories
      GET /mailRepositories/:name list email keys. Also, note the name is a URL itself thus need to be encoded
      GET /mailRepositories/:name/:key cf WebAdmin mail format
      DEL /mailRepositories/:name/:key
      DEL /mailRepositories/:name
      

      Being an URL by itself, the name parameter will need to be encoded.

      • We need to write tests for these Routes. We can rely on the InMemoryMailRepository
      • Bind it in Guice and write a webadmin integration test demonstrating it works.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: