Class ProjectService
java.lang.Object
com.winchesters.devopsify.service.ProjectService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewProject
(CreateNewProjectDto createNewProjectDto) findProjectById
(Long id) void
generateGeneratedFile
(String repo, String path, GeneratedFile file, String commitMsg) void
generateMavenProject
(GenerateMavenProjectDto dto, Long projectId) getProject
(Long projectId) getProjectDto
(Long projectId) void
setNexusServer
(Long projectId, Server nexusServer) void
updateJenkinsServer
(Long projectId, Server jenkinsServer)
-
Constructor Details
-
ProjectService
public ProjectService()
-
-
Method Details
-
findProjectById
-
listProjects
-
getProjectDto
-
getProject
-
createNewProjectWithInit
public ProjectDto createNewProjectWithInit(CreateNewProjectWithInitDto dto) throws IOException, org.eclipse.jgit.api.errors.GitAPIException, InterruptedException, IllegalAccessException - Throws:
IOException
org.eclipse.jgit.api.errors.GitAPIException
InterruptedException
IllegalAccessException
-
createNewProject
-
updateJenkinsServer
-
setNexusServer
-
analyse
- Throws:
IOException
-
generateMavenProject
public void generateMavenProject(GenerateMavenProjectDto dto, Long projectId) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
generateGeneratedFile
public void generateGeneratedFile(String repo, String path, GeneratedFile file, String commitMsg) throws IOException - Throws:
IOException
-