sncf-connect-tech / hesperides

Configuration management tool providing universal text file templating and properties editing through a REST API or a webapp (backend part)
https://voyages-sncf-technologies.github.io/hesperides-gui/
GNU General Public License v3.0
36 stars 28 forks source link

Service : [POST] - Create a working copy from a release #370

Closed Abdelmottaleb closed 5 years ago

Abdelmottaleb commented 5 years ago

POST : /templates/packages

Description :

description : permet de créer un working copy à partir d'un release

Paramètres :

user, fromPackageName, fromPackageVersion, isFromWorkingCopy et templatePackage

Règles de contrôles métiers :

Au niveau contrôleur :

Au niveau de l'agrégat :

Au niveau de command :

Abdelmottaleb commented 5 years ago

Ajout d'un test métier pour vérifier : Lors de la création d'une techno workingcopy à partir d'une techno release, cette nouvelle techno workingcopy n'existe pas déjà (règle 2).