Class ProjectService
java.lang.Object
com.winchesters.devopsify.service.ProjectService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewProject(CreateNewProjectDto createNewProjectDto) findProjectById(Long id) voidgenerateGeneratedFile(String repo, String path, GeneratedFile file, String commitMsg) voidgenerateMavenProject(GenerateMavenProjectDto dto, Long projectId) getProject(Long projectId) getProjectDto(Long projectId) voidsetNexusServer(Long projectId, Server nexusServer) voidupdateJenkinsServer(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:
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionInterruptedExceptionIllegalAccessException
-
createNewProject
-
updateJenkinsServer
-
setNexusServer
-
analyse
- Throws:
IOException
-
generateMavenProject
public void generateMavenProject(GenerateMavenProjectDto dto, Long projectId) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
generateGeneratedFile
public void generateGeneratedFile(String repo, String path, GeneratedFile file, String commitMsg) throws IOException - Throws:
IOException
-