Implement /projects/{id}/wip-resources/publishing methods

Description

When POST /projects/{id}/wip-resources/publishing API is used to publish a project, the accordant service methods should handle the operation. They should consume Storage servicew record copy API and copy all record references from the CP's custom namespace to the SOR.

See ADR - Project & Workflow Services - ADR Summary

Acceptance criteria

  • the implemented service methods successfully "publish" all the CP's WIP resources (CP's NS records) to the SOR NS.

Testing scenarios

  • all needed unit tests
  • call publish on CP, make sure all it's WIP resources are successfully copied to the SOR

Technical notes

Edited by Rostislav Dublin (EPAM)