Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-19

Create distributable HTTP Client for all services provided by the module mod-source-record-storage

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 8
    • 8
    • Folijet

    Description

      Implementation should be based on Feign Client

      https://github.com/OpenFeign/feign
      https://mvnrepository.com/artifact/io.github.openfeign

      *Steps to implement*

      1. Change module source code repository structure to contain 2 sub-folders: server & client
      2. Change POM accordingly, create new POMs for each module
      3. Move the module implementation to the "server" folder
      4. Create a client implementation & tests

      *Acceptance criteria*

      • Module structure changed
      • Client is provided as a separate java library
      • a Jenkins job for server & client is green
      • Both server & client jars are published into the artifactory
      • Docker image for server module is built correctly
      • The module is available on the staging environment
      • Unit tests as a must have requirement
      • Add extensive documentation for client interface and usage examples.

      An alternative approach is to keep all in one level repository. In this case the consumer should add a dependency on the module itself. TBD!
      FYI: The lightweight version of the built artifact is published into the Nexus artifactory, not a fat one.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                OleksiiKuzminov Oleksii Kuzminov
                Taras_Spashchenko Taras Spashchenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases