stable

Clone or download

Read-only

Serivces should inherit the parent project status in rest creation

part of story #8283 Enhance project creation user experience How to test: use REST route ta create a project using a template_id => service activation respect the template => activated services in template are activated in new project => disabled services in template are disabled in new project No functional changes on project import xml No functional changes on project created with tuleap template name. Change-Id: I3c6cdae315db44479a56b9db14e4fe4d63eed701

Modified Files

Name
A src/common/Project/Admin/Service/ProjectServiceActivator.php +97 −0 Go to diff View file
M src/common/Project/ProjectCreator.class.php +20 −67 Go to diff View file
M src/common/dao/ServiceDao.class.php +17 −0 Go to diff View file
A tests/phpunit/common/Project/Admin/Service/ProjectServiceActivatorTest.php +194 −0 Go to diff View file
M tests/phpunit/common/Project/ProjectCreatorTest.php +11 −4 Go to diff View file
M tests/phpunit/common/Project/ProjectXMLImporterTest.php +2 −1 Go to diff View file