F1 (Java) Story 08: Business logic and persistence layer for CollaborationProject

Description

As a developer, I need to implement the Project service and persistence layers classes; This is to facilitate the /projects API, successfully controlling operations for GET, POST (READ and CREATE operations) API endpoints.

Acceptance Criteria

  1. The ProjectService class should be established with methods that handle GET and POST operations.
  2. A ProjectRepository class is required to save changes in the persistent store and read from it.
  3. All payloads must be passed through validators, and modifications should be saved when validations pass.

Testing Scenarios

  1. Test the GETand POST methods of the ProjectService class with both valid and invalid payloads.
  2. Each validator should be intensively tested with varied payloads to ensure correct validations and modifications.
  3. The ProjectRepository needs to be tested to ensure that all types of data change are correctly saved and read back.

Technical Notes

  1. For data store-read from OSDU use Storage client from os-core-common lib
Edited by Rostislav Dublin (EPAM)