-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2508 from DamnClin/migrate-jib
Migrate docker plugins
- Loading branch information
Showing
36 changed files
with
329 additions
and
1,057 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 0 additions & 75 deletions
75
src/main/java/tech/jhipster/lite/generator/buildtool/generic/domain/Plugin.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 10 additions & 17 deletions
27
...te/generator/server/springboot/docker/application/SpringBootDockerApplicationService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
package tech.jhipster.lite.generator.server.springboot.docker.application; | ||
|
||
import org.springframework.stereotype.Service; | ||
import tech.jhipster.lite.generator.project.domain.Project; | ||
import tech.jhipster.lite.generator.server.springboot.docker.domain.SpringBootDockerService; | ||
import tech.jhipster.lite.generator.server.springboot.docker.domain.SpringBootDockerModuleFactory; | ||
import tech.jhipster.lite.module.domain.JHipsterModule; | ||
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties; | ||
|
||
@Service | ||
public class SpringBootDockerApplicationService { | ||
|
||
private final SpringBootDockerService springBootDockerService; | ||
private final SpringBootDockerModuleFactory factory; | ||
|
||
public SpringBootDockerApplicationService(SpringBootDockerService springBootDockerService) { | ||
this.springBootDockerService = springBootDockerService; | ||
public SpringBootDockerApplicationService() { | ||
factory = new SpringBootDockerModuleFactory(); | ||
} | ||
|
||
public void addJib(Project project) { | ||
this.springBootDockerService.addJib(project); | ||
public JHipsterModule buildJibModule(JHipsterModuleProperties properties) { | ||
return factory.buildJibModule(properties); | ||
} | ||
|
||
public void addDockerfile(Project project) { | ||
this.springBootDockerService.addDockerfile(project); | ||
} | ||
|
||
public void addJibPlugin(Project project) { | ||
this.springBootDockerService.addJibPlugin(project); | ||
} | ||
|
||
public void addJibFiles(Project project) { | ||
this.springBootDockerService.addJibFiles(project); | ||
public JHipsterModule buildDockerFileModule(JHipsterModuleProperties properties) { | ||
return factory.buildDockerFileModule(properties); | ||
} | ||
} |
17 changes: 0 additions & 17 deletions
17
...n/java/tech/jhipster/lite/generator/server/springboot/docker/domain/SpringBootDocker.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.